mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 09:48:26 +00:00
Merge pull request #4139 from richardipsum/readme-running-tests
README: Mention how to run tests
This commit is contained in:
commit
33ea4aae37
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user