tests: avoid spurious failures in cross-compile mode
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 May 2011 14:33:01 +0000 (16:33 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 19 May 2011 20:11:44 +0000 (22:11 +0200)
commite9e5d4ac2d8ba980211303c9b1e16c3199f34478
tree65fef4db51bb41d7b13c68e9a0b3ccc4fb1df460
parent920781c510b0219d44eb3201a9e6373f1c9b50a9
tests: avoid spurious failures in cross-compile mode

* tests/depcomp2.test: Ensure verbose printing of captured stderr
from configure.
* tests/ansi3.test ($required): Add 'native', as the ansi2knr
functionality is not meant to work with a cross-compiler.
* tests/ansi3b.test: Likewise.
* tests/ansi5.test: Likewise.
* tests/ansi6.test: Likewise.
* tests/ansi7.test: Likewise.
* tests/ansi8.test: Likewise.
* tests/ansi10.test: Likewise.
* tests/subobj3.test: Likewise.
* tests/check8.test ($required): Add 'native', as this test is
not meant to work with a cross-compiler.
* tests/gnits2.test: Likewise.
* tests/ltconv.test: Likewise.
* tests/ltcond2.test: Likewise.
* tests/parallel-tests5.test: Likewise.
* tests/specflg7.test: Likewise.
* tests/specflg8.test: Likewise.
* tests/check5.test: Likewise.  Also, ensure verbose printing of
captured make output, and thrown in few cosmetic and consistency
improvements.
* tests/ltinit.test: Be laxer in grepping configure output, to
avoid spurious failures on systems which lack POSIX dynamic
linking (e.g., MinGW), or when cross-compiling for such systems.
* tests/ansi9.test: Skip parts of the test that would require a
native compiler.
* tests/backcompat6.test: Likewise.
* tests/depcomp8a.test: Likewise.
* tests/pr401.test: Likewise.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
* tests/target-cflags.test: Likewise.
* tests/lex3.test: Likewise.
* tests/yacc-basic.test: Likewise.
* tests/autohdr4.test: Likewise.  Also, extend the test to ensure
more coverage in cross-compile mode.
* tests/canon7.test: Likewise.
* tests/check9.test: Removed, split into two new tests ...
* tests/check-subst-prog.test: ... this one, which requires a
native C compiler ...
* tests/check-subst.test: ... and this one, which doesn't require
any compiler.
* tests/parallel-tests4.test: Removed, split into two new tests ...
* tests/parallel-tests-suffix-prog.test: ... this one, which
requires a native C compiler ...
* tests/parallel-tests-suffix.test: ... and this one, which
doesn't require any compiler.
* tests/parallel-tests7.test: Removed, split into two new tests ...
* tests/parallel-tests-ext-driver-prog.test: ... this one, which
requires a native C compiler ...
* tests/parallel-tests-ext-driver.test: ... and this one, which
doesn't require any compiler.
* tests/Makefile.am (TESTS): Update.
37 files changed:
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/ansi10.test
tests/ansi3.test
tests/ansi3b.test
tests/ansi5.test
tests/ansi6.test
tests/ansi7.test
tests/ansi9.test
tests/autohdr4.test
tests/backcompat6.test
tests/canon7.test
tests/check-subst-prog.test [moved from tests/check9.test with 87% similarity]
tests/check-subst.test [new file with mode: 0755]
tests/check5.test
tests/check8.test
tests/depcomp2.test
tests/depcomp8a.test
tests/gnits2.test
tests/lex3.test
tests/ltcond2.test
tests/ltconv.test
tests/ltinit.test
tests/parallel-tests-ext-driver-prog.test [moved from tests/parallel-tests7.test with 77% similarity]
tests/parallel-tests-ext-driver.test [new file with mode: 0755]
tests/parallel-tests-suffix-prog.test [new file with mode: 0755]
tests/parallel-tests-suffix.test [moved from tests/parallel-tests4.test with 85% similarity]
tests/parallel-tests5.test
tests/pr401.test
tests/pr401b.test
tests/pr401c.test
tests/specflg7.test
tests/specflg8.test
tests/subobj3.test
tests/target-cflags.test
tests/yacc-basic.test