]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] maintcheck: some tweaks and fixlets
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 25 May 2012 16:49:07 +0000 (18:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 25 May 2012 16:49:07 +0000 (18:49 +0200)
commit6bd70f6a189aed90a574bd8607a7cef353f8232e
tree0b774d0927db8f71dbc5c799dc90b9357d215f7b
parent0d1e28a86cf4700ac078145cee44e07ba34c28a0
[ng] maintcheck: some tweaks and fixlets

* syntax-checks.mk (sc_no_brace_variable_expansions): Do not complain
about ${MAKEVAR} usages in comments: they might be legitimate.  This
change is not strictly required for mainline automake, but will help
in the Automake-NG branch.
* sc_tests_here_document_format: Relax a bit, so that usages like
"cout << "string" << endl;" in the test scripts (usages which can be
used in here documents defining C++ sources) are not flagged as uses
of bad delimiters for here documents.  This change is not strictly
required for mainline automake, but will help in the Automake-NG
branch, and will anyway be more future proof w.r.t. possible future
testsuite additions.
(sc_tests_Exit_not_exit): Do not whitelist lines containing $PERL
explicitly (that was only required for one test); instead ...
* t/ext2.sh: ... use "exit (1)" instead of "exit 1" in the perl
invocation of the guilty script.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
syntax-checks.mk
t/ext2.sh