summaryrefslogtreecommitdiffstats
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/Makemodule.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
new file mode 100644
index 0000000..31cf70f
--- /dev/null
+++ b/tests/Makemodule.am
@@ -0,0 +1,27 @@
+
+include tests/helpers/Makemodule.am
+
+EXTRA_DIST += \
+ tests/expected \
+ tests/functions.sh \
+ tests/commands.sh \
+ tests/run.sh \
+ tests/ts
+
+clean-local-tests:
+ rm -rf $(top_builddir)/tests/output $(top_builddir)/tests/diff
+
+CLEAN_LOCALS += clean-local-tests
+
+TESTS_OPTIONS = --nonroot
+TESTS_PARALLEL = --parallel
+TESTS_COMMAND = $(top_srcdir)/tests/run.sh \
+ --srcdir=$(abs_top_srcdir) \
+ --builddir=$(abs_top_builddir) \
+ $(TESTS_PARALLEL) \
+ $(TESTS_OPTIONS)
+
+check-local-tests: $(check_PROGRAMS)
+ $(AM_V_GEN) $(TESTS_COMMAND)
+
+CHECK_LOCALS += check-local-tests