From d0d9f70fffcb66757451b8b53e00ae6cffa92b30 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 17 Nov 2010 15:18:49 +0100 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ tests/silent5.test | 4 ++++ 2 files changed, 12 insertions(+) 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 -- 2.47.2