Fix spurious silent*.test failures for $CC != gcc
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 25 Nov 2010 21:06:14 +0000 (22:06 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 25 Nov 2010 21:39:00 +0000 (22:39 +0100)
commit22ee3bdfb7d140f61e276eae28fbabe321f6c32a
tree59bb15afae75099ff6f8063b9a5fbad7858b623a
parent2601fd8f5688a2e9cb4c723c1c42007d3c019fca
Fix spurious silent*.test failures for $CC != gcc

In some tests on automake-produced silent rules, we forced the
use of gcc depmode to improve testsuite coverage; but this has
unsurprisingly led to spurious failures when some non-GNU C
compilers were used.  So we are now careful to require GCC in
tests that force gcc depmode.

From reports by Ralf Wildenhues.

* silent5.test: Test removed, its content split into ...
* silent-many-generic.test, silent-many-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* silentlex.test: Test removed, its content split into ...
* silent-lex-generic.test, silent-lex-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* silentyacc.test: Test removed, its content split into ...
* silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
sister tests, the latter of which forces gcc depmode and lists
"gcc" in $required.
* tests/Makefile.am (TESTS): Updated.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/silent-lex-gcc.test [new file with mode: 0755]
tests/silent-lex-generic.test [moved from tests/silentlex.test with 92% similarity]
tests/silent-many-gcc.test [new file with mode: 0755]
tests/silent-many-generic.test [moved from tests/silent5.test with 91% similarity]
tests/silent-yacc-gcc.test [new file with mode: 0755]
tests/silent-yacc-generic.test [moved from tests/silentyacc.test with 92% similarity]