]> git.ipfire.org Git - thirdparty/nftables.git/commit
Makefile: Enable support for 'make check'
authorPhil Sutter <phil@nwl.cc>
Fri, 8 Sep 2023 16:16:29 +0000 (18:16 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 11 Sep 2025 16:11:53 +0000 (18:11 +0200)
commitdf19bf51d49bee8d1473c365885d06ee5ff6287f
treeb36ac92f5c631ed5ae87ed3660220fc78399ae6b
parent106f31543492a2dbdb63e2230a334fc6404f056b
Makefile: Enable support for 'make check'

With all test suites running all variants by default, add the various
testsuite runners to TESTS variable so 'make check' will execute them.

Introduce --enable-distcheck configure flag for internal use during
builds triggered by 'make distcheck'. This flag will force TESTS
variable to remain empty, so 'make check' run as part of distcheck will
not call any test suite: Most of the test suites require privileged
execution, 'make distcheck' usually doesn't and probably shouldn't.
Assuming the latter is used during the release process, it may even not
run on a machine which is up to date enough to generate meaningful test
suite results. Hence spare the release process from the likely pointless
delay imposed by 'make check'.

Signed-off-by: Phil Sutter <phil@nwl.cc>
.gitignore
Makefile.am
configure.ac