[syslog-ng] 3.19.1 and "make check"

Sergey a_s_y at sama.ru
Sun Mar 3 14:43:58 UTC 2019


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 ?


More information about the syslog-ng mailing list