summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-03-21 13:41:24 +0000
committerGitHub <noreply@github.com>2017-03-21 13:41:24 +0000
commit33ea4aae378f390aa4e2163389cd2cc183420ebe (patch)
tree94ee146f091891ac19cd2ddf737c8260b395a231
parentc62179731a9568dc4df1466307b64cbc5486534c (diff)
parent5c06111be6f2157de6d3eb3a1b0de2f2683810e5 (diff)
downloadlibgit2-33ea4aae378f390aa4e2163389cd2cc183420ebe.tar.gz
Merge pull request #4139 from richardipsum/readme-running-tests
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