Merge pull request #4139 from richardipsum/readme-running-tests

README: Mention how to run tests
This commit is contained in:
Edward Thomson 2017-03-21 13:41:24 +00:00 committed by GitHub
commit 33ea4aae37

View File

@ -124,6 +124,14 @@ On most systems you can build the library using the following commands
Alternatively you can point the CMake GUI tool to the CMakeLists.txt file and generate platform specific build project or IDE workspace.
Once built, you can run the tests from the `build` directory with the command
$ make test
Alternatively you can run the test suite directly using,
$ ./libgit2_clar
To install the library you can specify the install prefix by setting:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix