This repository was archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 619
Testing
Joy Arulraj edited this page Jan 18, 2017
·
17 revisions
By default, all the test cases are run under Valgrind. To run all the unit test cases :
make check -j2
If your machine has more than 8 GB
DRAM and 4 physical cores
, you can increase the concurrency settings of make.
make check -j4
To run only a particular test under Valgrind
(once it has already been built) :
valgrind --leak-check=yes --trace-children=yes --track-origins=yes ./build/tests/sample_test