Skip to content

Commit 5c06111

Browse files
committed
README: Mention how to run tests
1 parent 7143145 commit 5c06111

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)