summaryrefslogtreecommitdiffstats
path: root/tests/Makemodule.am
blob: 3a66f271aa3e074c9a1f6fc4482cf8ebf6b3849a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 --show-diff
TESTS_PARALLEL = --parallel
TESTS_COMPONENTS =
TESTS_COMMAND = $(top_srcdir)/tests/run.sh \
	--srcdir=$(abs_top_srcdir) \
	--builddir=$(abs_top_builddir) \
	$(TESTS_PARALLEL) \
	$(TESTS_OPTIONS)  \
	$(TESTS_COMPONENTS)

check-local-tests: $(check_PROGRAMS)
	$(AM_V_GEN) $(TESTS_COMMAND)

CHECK_LOCALS += check-local-tests