* maintainer/syntax-checks.mk (sc_rm_minus_f): no \ before -
(diagnosed by grep 3.8).
* t/comment12.sh: use $(...) instead of `...`.
* t/comments-escaped-in-var.sh: use AUTOMAKE_fails and grep
for expected warning message.
* t/list-of-tests.mk (handwritten_TESTS): add t/py-compile-files.sh.
* t/subdir-add2-pr46.sh (.NOTPARALLEL): add; showed up with
parallelized internal make. Seems unreproducible.
sc_rm_minus_f:
@if grep -v '^#' $(ams) $(xtests) \
| grep -vE '/(rm-f-probe\.sh|spy-rm\.tap|subobj-clean.*-pr10697\.sh):' \
- | grep -E '\<rm ([^-]|\-[^f ]*\>)'; \
+ | grep -E '\<rm ([^-]|-[^f ]*\>)'; \
then \
echo "Suspicious 'rm' invocation." 1>&2; \
exit 1; \
# For debugging.
grep '^VAR' Makefile.in
-count=`grep '^VAR. = val$' Makefile.in | wc -l`
+count=$(grep '^VAR. = val$' Makefile.in | wc -l)
[ $count -eq 6 ]
$ACLOCAL
-# This should fail due to -Werror.
-$AUTOMAKE && exit 1
+# This should fail due to -Werror, as in:
+# automake-1.16: warnings are treated as errors
+# Makefile.am:2: warning: escaping \# comment markers is not portable
+AUTOMAKE_fails
+grep 'escaping.*comment markers.*portable' stderr
# This should pass though.
$AUTOMAKE -Wno-portability
t/py-compile-basedir.sh \
t/py-compile-destdir.sh \
t/py-compile-env.sh \
+t/py-compile-files.sh \
t/py-compile-option-terminate.sh \
t/py-compile-usage.sh \
t/python.sh \
cat > Makefile.am << 'END'
SUBDIRS = sub
+
+# The test can fail under a parallel make, so disable.
+# No evident way to debug or reliably reproduce.
+.NOTPARALLEL:
END
mkdir sub