3.19.1 and "make check"
Hello. How can I use unit tests when building? As I see $ ./configure --help | grep "unit test" --enable-valgrind Whether to enable Valgrind on the unit tests I should enable "valgrind". Ok, I attempt to do it but it unsuccesful. valgrind is detected: checking whether to enable Valgrind on the unit tests... checking for valgrind... valgrind yes checking for Valgrind tool memcheck... memcheck checking for Valgrind tool helgrind... helgrind checking for Valgrind tool drd... drd checking for Valgrind tool exp-sgcheck... exp-sgcheck but isn't used: Test dependencies: Criterion : no Unit tests : no And expected: $ make check Makefile:21717: *** "Unit tests disabled". Stop. Or is availability of Criterion a necessary condition also ? btw, what is the "Criterion"? Is it https://github.com/Snaipe/Criterion ? -- Regards, Sergey
Hi, Or is availability of Criterion a necessary condition also ?
btw, what is the "Criterion"? Is it https://github.com/Snaipe/Criterion ?
Yes, our unit tests are based on the Criterion test framework (your link is correct), so it has to be installed before running `make check`. -- László Várady
participants (2)
-
Sergey
-
Várady, László