summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2018-10-17 12:32:52 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-18 19:49:54 +0200
commitcbd14b764d226db75383795908c84b7d67d9ac49 (patch)
tree5992c548600786693ba39aa06757c3efe3614097
parentb520967487b30f24753f9ddceaccc5b5c34c1780 (diff)
tests: Run regression tests from make check
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>
-rw-r--r--tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 556575f..ad493b5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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}