[PATCH libnftnl 2/4] tests: Run regression tests from make check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

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}
 
-- 
2.16.4




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux