Skip to content

Commit 33ea4aa

Browse files
authored
Merge pull request libgit2#4139 from richardipsum/readme-running-tests
README: Mention how to run tests
2 parents c621797 + 5c06111 commit 33ea4aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,14 @@ On most systems you can build the library using the following commands
124124

125125
Alternatively you can point the CMake GUI tool to the CMakeLists.txt file and generate platform specific build project or IDE workspace.
126126

127+
Once built, you can run the tests from the `build` directory with the command
128+
129+
$ make test
130+
131+
Alternatively you can run the test suite directly using,
132+
133+
$ ./libgit2_clar
134+
127135
To install the library you can specify the install prefix by setting:
128136

129137
$ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix

0 commit comments

Comments
 (0)