From: Stefano Lattarini Date: Wed, 17 Nov 2010 14:18:49 +0000 (+0100) Subject: Fix spurious failures of silent5.test with Sun Fortran. X-Git-Tag: v1.11.1b~41^2~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0d9f70fffcb66757451b8b53e00ae6cffa92b30;p=thirdparty%2Fautomake.git Fix spurious failures of silent5.test with Sun Fortran. * tests/silent5.test: Strip from the make output some verbose messages possibly printed by the SunStudio fortran compilers, to avoid spurious failures. This bug has been there from the very first version of this test script. --- diff --git a/ChangeLog b/ChangeLog index 80c172910..d901dd0ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-11-17 Stefano Lattarini + + Fix spurious failures of silent5.test with Sun Fortran. + * tests/silent5.test: Strip from the make output some verbose + messages possibly printed by the SunStudio fortran compilers, + to avoid spurious failures. This bug has been there from the + very first version of this test script. + 2010-06-26 Stefano Lattarini Fix typo-related bug in test script silent5.test. diff --git a/tests/silent5.test b/tests/silent5.test index e29f48faf..79dfca299 100755 --- a/tests/silent5.test +++ b/tests/silent5.test @@ -35,6 +35,10 @@ do_and_check_silent_build () $MAKE >stdout || { cat stdout; Exit 1; } cat stdout + # Avoid spurious failures with SunStudio Fortran compilers. + sed '/^NOTICE:/d' stdout > t + mv -f t stdout + cat stdout $EGREP ' (-c|-o)' stdout && Exit 1 $EGREP '(mv|ylwrap) ' stdout && Exit 1