summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-12-05 13:20:54 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-12-05 13:20:54 +0100
commit6766178412934e29db12ff5e6663604c6e909c6e (patch)
tree7bd12df253a648577a25e11d10da55166608215e
parent098e91af4a08a81b3cdfd4aac422bb768261aac5 (diff)
Run unit test programs through "make check"
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--.gitignore3
-rw-r--r--Makefile.am2
-rw-r--r--tests/unittests/Makemodule.am3
3 files changed, 7 insertions, 1 deletions
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)