From 6766178412934e29db12ff5e6663604c6e909c6e Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 5 Dec 2017 13:20:54 +0100 Subject: Run unit test programs through "make check" Signed-off-by: David Oberhollenzer --- .gitignore | 3 +++ Makefile.am | 2 ++ tests/unittests/Makemodule.am | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 38bd04d..a384359 100644 --- a/.gitignore +++ b/.gitignore @@ -127,6 +127,9 @@ tests/ubi-tests/ubi-stress-test.sh /include/config.h /include/config.h.in /include/stamp-h1 +test-driver +*.log +*.trs # # Top-level generic files diff --git a/Makefile.am b/Makefile.am index e9c1608..5a6e77c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,7 @@ endif sbin_PROGRAMS = sbin_SCRIPTS = +check_PROGRAMS = noinst_LIBRARIES = noinst_PROGRAMS = noinst_SCRIPTS = @@ -20,6 +21,7 @@ pkglibexec_SCRIPTS = dist_man1_MANS = dist_man8_MANS = +TESTS = EXTRA_DIST = GLOBAL_HEADER = \ diff --git a/tests/unittests/Makemodule.am b/tests/unittests/Makemodule.am index 7c8c016..0ecdaa9 100644 --- a/tests/unittests/Makemodule.am +++ b/tests/unittests/Makemodule.am @@ -20,4 +20,5 @@ UNITTEST_EXTRA = \ EXTRA_DIST += $(UNITTEST_HEADER) $(UNITTEST_EXTRA) -noinst_PROGRAMS += $(TEST_BINS) +TESTS += $(TEST_BINS) +check_PROGRAMS += $(TEST_BINS) -- cgit v1.2.3