EXTRA_DIST += defs-static.in
CLEANFILES += defs-static
-t/ax/runtest: t/ax/runtest.in Makefile
+runtest: runtest.in Makefile
$(AM_V_at)rm -f $@ $@-t
- $(AM_V_GEN)in=t/ax/runtest.in \
+ $(AM_V_GEN)in=runtest.in \
&& $(MKDIR_P) t/ax \
- && $(do_subst) <$(srcdir)/t/ax/runtest.in >$@-t \
+ && $(do_subst) <$(srcdir)/runtest.in >$@-t \
&& chmod a+x $@-t
$(generated_file_finalize)
-EXTRA_DIST += t/ax/runtest.in
-CLEANFILES += t/ax/runtest
-noinst_SCRIPTS = t/ax/runtest
+EXTRA_DIST += runtest.in
+CLEANFILES += runtest
+noinst_SCRIPTS = runtest
# If two test scripts have the same basename, they will end up sharing
# the same log file, leading to all sort of undefined and undesired
with the '.tap' suffix use the TAP protocol.
If you want to run a test by hand, you should be able to do so using the
- 'runtest' script:
+ 'runtest' script provided in the Automake distribution:
- ./t/ax/runtest t/nogzip.sh
- ./t/ax/runtest t/add-missing.tap
+ ./runtest t/nogzip.sh
+ ./runtest t/add-missing.tap
This will run the test using the correct shell, and should also work in
VPATH builds. Note that, to run the TAP tests this way, you'll need to