From: Stefano Lattarini Date: Wed, 17 Nov 2010 14:07:39 +0000 (+0100) Subject: Fix spurious failures of silent-rules tests with Sun Fortran. X-Git-Tag: v1.11.1b~41^2~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98462e64b04b0ecd1015961bc3a63caf23f3bb41;p=thirdparty%2Fautomake.git 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. --- diff --git a/ChangeLog b/ChangeLog index 1fb4ba8c5..47f4e35de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-11-17 Stefano Lattarini + + 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-06-06 Stefano Lattarini New tests for Automake silent-mode with Fortran. 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 + +: