summaryrefslogtreecommitdiff
path: root/tests/colon7.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-07-16 10:04:58 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-07-16 12:32:52 +0200
commit75eb16857bc94aae196be1d74a2eaf9a6a822347 (patch)
tree789c894da261d14cf9e62238920b000b948f5ba0 /tests/colon7.test
parent650d3ec9072dc8cc1d5169db0cb7b63a9d9c0b40 (diff)
downloadautomake-75eb16857bc94aae196be1d74a2eaf9a6a822347.tar.gz
tests: avoid '##'-style comments inside recipe commands
* tests/autodist.test: Do not whitespace-indent `##' comments when they are embedded in a makefile rule: having them indented is not part of the Automake API, and might cause failures with e.g., Tru64 make. * tests/autodist-subdir.test: Likewise. * tests/backcompat.test: Likewise. * tests/backcompat6.test: Likewise. * tests/colon7.test: Likewise. * tests/posixsubst-scripts.test: Likewise. * tests/posixsubst-sources.test: Likewise.
Diffstat (limited to 'tests/colon7.test')
-rwxr-xr-xtests/colon7.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/colon7.test b/tests/colon7.test
index 2ab5a4877..f445dacfb 100755
--- a/tests/colon7.test
+++ b/tests/colon7.test
@@ -34,11 +34,11 @@ mkdir subdir
: > Makefile.am
: > subdir/foo
cat > subdir/Makefile.am << 'END'
-.PHONY: test
+# DIST_COMMON should contain `foo', not `subdir/foo'.
test:
- ## DIST_COMMON should contain `foo', not `subdir/foo'.
case '$(DIST_COMMON)' in *subdir/foo*) exit 1;; *) exit 0;; esac
echo ' ' $(DIST_COMMON) ' ' | grep '[ /]foo '
+.PHONY: test
END
$ACLOCAL