$(generated_TESTS): $(srcdir)/gen-testsuite-part
$(srcdir)/t/testsuite-part.am: $(srcdir)/gen-testsuite-part Makefile.am
- # Static dependencies valid for each test case.
- check_SCRIPTS = t/wrap/aclocal-$(APIVERSION) t/wrap/automake-$(APIVERSION)
- dist_check_DATA = \
- t/ax/test-init.sh \
- t/ax/plain-functions.sh \
+# Hand-written tests for stuff in 'contrib/'.
+include $(srcdir)/contrib/t/local.am
+TESTS += $(contrib_TESTS)
+EXTRA_DIST += $(contrib_TESTS)
+
+ # Static dependencies valid for each test case (also further
+ # extended later). Note that use 'noinst_' rather than 'check_'
+ # as the prefix, because we really want them to be built by
+ # "make all". This makes it easier to run the test cases by
+ # hand after having simply configured and built the package.
+
+ nodist_noinst_SCRIPTS = \
+ t/wrap/aclocal-$(APIVERSION) \
+ t/wrap/automake-$(APIVERSION)
+
+ dist_noinst_DATA = \
+ t/ax/test-lib.sh \
+ t/ax/am-test-lib.sh \
t/ax/tap-functions.sh
- nodist_check_DATA = defs-static
# Few more static dependencies.
t/distcheck-missing-m4.log: t/ax/distcheck-hook-m4.am
.PHONY: check-tests-syntax
## Checking the list of tests.
- test_subdirs = t t/pm t/perf contrib/t
-test_subdirs = t t/pm
++test_subdirs = t t/pm contrib/t
include $(srcdir)/t/CheckListOfTests.am
# Run the testsuite with the installed aclocal and automake.