summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-11-17 20:19:19 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-11-17 20:19:19 +0100
commit36c1b5c0f0d5e9a9a3c91233fcb0e408ef6093e3 (patch)
treec2bdbde09fe5751ab82c1c5ef07cfcdc28f9d7b6
parent87b99db562a6353251cd08442ecce8ca262ba807 (diff)
parent98462e64b04b0ecd1015961bc3a63caf23f3bb41 (diff)
downloadautomake-36c1b5c0f0d5e9a9a3c91233fcb0e408ef6093e3.tar.gz
Merge branch 'fix-silentf77-sun-fortran' into maint
-rw-r--r--ChangeLog8
-rwxr-xr-xtests/silentf77.test6
-rwxr-xr-xtests/silentf90.test6
3 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b263eca6..e3618a776 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
+ Fix spurious failures of silent-rules tests with Sun Fortran.
+ * tests/silentf77.test: Strip from the make output some verbose
+ messages possibly printed by the SunStudio fortran compilers, to
+ avoid spurious failures. Add a trailing `:' command.
+ * tests/silentf90.test: Likewise.
+
+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,
diff --git a/tests/silentf77.test b/tests/silentf77.test
index 39495d4ad..54a15a117 100755
--- a/tests/silentf77.test
+++ b/tests/silentf77.test
@@ -63,6 +63,10 @@ $AUTOCONF
./configure --enable-silent-rules
$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
grep 'mv ' stdout && Exit 1
@@ -89,3 +93,5 @@ $EGREP '(F77|FC|LD) ' stdout && Exit 1
$MAKE clean
$MAKE maintainer-clean
+
+:
diff --git a/tests/silentf90.test b/tests/silentf90.test
index 9330bddd0..6435fb411 100755
--- a/tests/silentf90.test
+++ b/tests/silentf90.test
@@ -63,6 +63,10 @@ $AUTOCONF
./configure --enable-silent-rules
$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
grep 'mv ' stdout && Exit 1
@@ -89,3 +93,5 @@ $EGREP '(F77|FC|LD) ' stdout && Exit 1
$MAKE clean
$MAKE maintainer-clean
+
+: