]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
tests: Run regression tests from make check
authorMatt Turner <mattst88@gmail.com>
Wed, 17 Oct 2018 19:32:52 +0000 (12:32 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Oct 2018 17:49:54 +0000 (19:49 +0200)
The existing test-script.sh does not check the return values of the
tests so it is not very good for automated testing.

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/Makefile.am

index 556575fcce4d1959e68ba83503c3cc029467852d..ad493b5beb5b213372fc6ba697b058f27934eb17 100644 (file)
@@ -35,6 +35,8 @@ check_PROGRAMS =      nft-table-test                  \
                        nft-expr_target-test            \
                        nft-expr_hash-test
 
+TESTS = $(check_PROGRAMS)
+
 nft_table_test_SOURCES = nft-table-test.c
 nft_table_test_LDADD = ../src/libnftnl.la ${LIBMNL_LIBS}