]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
make: build/run tests, only with --enable-tests
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sat, 17 Sep 2022 14:05:49 +0000 (19:35 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 30 Sep 2022 15:46:38 +0000 (09:46 -0600)
commitce2717610acff6384b161787591533591fb42228
treea57a8b3113a4269349a1bd2ef83c577dd737c4c1
parent48d49fbbe3eaf9c1ddd640f99cd8921752ab4e1d
make: build/run tests, only with --enable-tests

Control the building and testing (make check) of the tests using the
if/endif WITH_TESTS guard based on the configuration options passed.
If the --enable-tests (default on) is passed during ./configure step,
the SUBDIRS directories (ftests/gunit) are recused into build and
make check are run.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/Makefile.am