summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-09-25 21:31:06 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-09-25 21:31:06 +0200
commita25c6733a0e78fd7aef28e560e027bcef9684e96 (patch)
tree1459b344e08aebbbe12af8f012dd968741942350 /Makefile.in
parent067455ce40bfa4c7234d46368ab64efb893ab808 (diff)
downloadautomake-a25c6733a0e78fd7aef28e560e027bcef9684e96.tar.gz
Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
* tests/compile2.test: Do no uselessly (implicitly) repeat the computation of PATH_SEPARATOR again. * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when extending/redefining PATH. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. * tests/man4.test: Likewise. * tests/mkinst3.test: Likewise. * tests/mmodely.test: Likewise. * tests/multlib.test: Likewise. * tests/txinfo30.test: Likewise. * tests/README (Section "Writing test cases" subsection "Do"): Updated. * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check. (syntax_check_rules): Updated.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 528b80e9e..649565b01 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -298,6 +298,7 @@ sc_tests_required_after_defs \
sc_tests_overriding_macros_on_cmdline \
sc_tests_plain_sleep \
sc_tests_plain_egrep_fgrep \
+sc_tests_PATH_SEPARATOR \
sc_mkdir_p \
sc_perl_at_substs \
sc_unquoted_DESTDIR \
@@ -1090,6 +1091,12 @@ sc_tests_plain_egrep_fgrep:
exit 1; \
fi
+sc_tests_PATH_SEPARATOR:
+ @if grep -E '\bPATH=.*:.*' $(srcdir)/tests/*.test ; then \
+ echo "Use \`$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
+ exit 1; \
+ fi
+
sc_mkdir_p:
@if grep 'mkdir_p' $(srcdir)/automake.in \
$(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \