1 # Variables to be defined:
3 # TEST_VERBOSE - set to 0 (default) or 1 to control test suite verbosity
4 # TEST_PARALLEL - set to 1 (default) or N to control the parallel jobs
5 # TEST_ENV_VARS - environment variables to be set for the test suite
6 # TEST_COVERAGE - set to the perl module in charge of getting test coverage
7 # test_tmpdir - test suite temporary directory
8 # test_scripts - list of test case scripts
9 # test_programs - list of test case programs
10 # test_data - list of test data files
16 [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir)
18 tap-check: $(test_data) $(test_programs) $(test_scripts)
19 [ -z "$(test_tmpdir)" ] || $(MKDIR_P) $(test_tmpdir)
21 abs_top_srcdir=$(abs_top_srcdir) \
22 abs_top_builddir=$(abs_top_builddir) \
23 srcdir=$(srcdir) builddir=$(builddir) \
28 PERL5OPT=$(TEST_COVERAGE) \
29 $(PERL) $(top_srcdir)/build-aux/test-runner \
30 $(addprefix $(builddir)/,$(test_programs)) \
31 $(addprefix $(srcdir)/,$(test_scripts))
34 AUTHOR_TESTING=1 $(MAKE) check