]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
make: build/run tests, only with --enable-tests
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 30 Sep 2022 15:48:49 +0000 (09:48 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 30 Sep 2022 15:48:51 +0000 (09:48 -0600)
commit8083c987a6a4a454e63691bf2a0d6224bd116397
treecfd97532d19eabcf4f06aec4c632debafd2e1496
parent7d25ff908e7323172a94f41b59ec5de18448ddd5
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>
(cherry picked from commit ce2717610acff6384b161787591533591fb42228)
tests/Makefile.am