summaryrefslogtreecommitdiffstats
path: root/tests/Makemodule.am
blob: d5422bebf5cd7a3d4d49601854ca3c81d308344c (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
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_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