From 9de57e1b23a042ca31ea538c770822881c46bf77 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sat, 25 Apr 2015 19:01:40 -0700 Subject: [PATCH] Update README.md. --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 7eac394..85f2a34 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,32 @@ in order to invalidate it, you should run(as root): ldconfig ``` +## Running tests ## + +You may want to run the unit tests on your system so you make sure +everything works. In order to do so, you need to follow these steps: + +```Shell +# This will fetch the googletest submodule, needed for tests +git submodule init +git submodule update + +mkdir build +cd build + +# Use any options you want +cmake .. + +# Compile tests +make tests + +# Run them +make test +``` + +If you find that any tests fail, please create an ticket in the +issue tracker indicating the platform and architecture you're using. + ## Examples ## You might want to have a look at the examples located in the "examples"