Fix spurious failures of silent5.test with Sun Fortran.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Nov 2010 14:18:49 +0000 (15:18 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Nov 2010 19:15:35 +0000 (20:15 +0100)
* 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
tests/silent5.test

index 80c1729..d901dd0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        Fix typo-related bug in test script silent5.test.
index e29f48f..79dfca2 100755 (executable)
@@ -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