summaryrefslogtreecommitdiffstats
path: root/tests/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
new file mode 100644
index 0000000..84eb79e
--- /dev/null
+++ b/tests/local.mk
@@ -0,0 +1,21 @@
+tests = \
+ %reldir%/formats.sh \
+ %reldir%/parse.sh
+if ENABLE_TESTS
+TESTS = $(tests)
+else
+TESTS = %reldir%/disabled.sh
+endif
+
+TEST_EXTENSIONS = .sh
+SH_LOG_DRIVER = \
+ AM_TAP_AWK='$(AWK)' \
+ TOP_SRCDIR="$(abs_top_srcdir)" \
+ TOP_BUILDDIR="$(abs_top_builddir)" \
+ $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
+EXTRA_DIST += \
+ $(tests) \
+ %reldir%/disabled.sh \
+ %reldir%/formats.exp \
+ $(top_srcdir)/build-aux/tap-driver.sh \
+ %reldir%/aux/tap-functions.sh