diff mbox series

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

Message ID 20181017193254.25952-2-mattst88@gmail.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series [libnftnl,1/4] tests: Execute nft-flowtable-test in test-script.sh | expand

Commit Message

Matt Turner Oct. 17, 2018, 7:32 p.m. UTC
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>
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

Comments

Pablo Neira Ayuso Oct. 18, 2018, 5:57 p.m. UTC | #1
On Wed, Oct 17, 2018 at 12:32:52PM -0700, Matt Turner wrote:
> The existing test-script.sh does not check the return values of the
> tests so it is not very good for automated testing.

Also applied, thanks.
diff mbox series

Patch

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}