summaryrefslogtreecommitdiffstats
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
commit378c18e5f024ac5a8aef4cb40d7c9aa9633d144c (patch)
tree44dfb6ca500d32cabd450649b322a42e70a30683 /tests/Makemodule.am
parentInitial commit. (diff)
downloadutil-linux-upstream.tar.xz
util-linux-upstream.zip
Adding upstream version 2.38.1.upstream/2.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/Makemodule.am')
-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