summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2017-02-25 17:13:15 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2017-03-05 15:36:19 +0000
commit5c06111be6f2157de6d3eb3a1b0de2f2683810e5 (patch)
treef31661c9eb71f9a522e13a537f5b4c24a275bcc2
parent7143145f2fcb0f7476f333f9df990b8a06cd52c0 (diff)
downloadlibgit2-5c06111be6f2157de6d3eb3a1b0de2f2683810e5.tar.gz
README: Mention how to run tests
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 19d24dea1..c3fb27c98 100644
--- a/README.md
+++ b/README.md
@@ -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