From: Stefano Lattarini Date: Tue, 27 Apr 2010 00:06:05 +0000 (+0200) Subject: Tests on extensibility of silent-rules made stricter. X-Git-Tag: v1.11.1b~82^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3f323e0a4db689de7b65c62f537e1703a820d05;p=thirdparty%2Fautomake.git Tests on extensibility of silent-rules made stricter. * tests/silent6.test: Made stricter w.r.t. the grepping of the output produced by `make'. * tests/silent7.test: Likewise. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index cefd5bd0e..b9ce4c921 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-06-06 Stefano Lattarini + Make tests on user extensibility of silent-rules mode stricter. + * tests/silent6.test: Made stricter w.r.t. the grepping of the + output produced by `make'. + * tests/silent7.test: Likewise. + Tests on silent-mode for C/Libtool made stricter. * tests/silent.test: Made stricter w.r.t. the grepping of the output produced by `make'. diff --git a/tests/silent6.test b/tests/silent6.test index e6f08dd19..2afe6bc79 100755 --- a/tests/silent6.test +++ b/tests/silent6.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ grep 'cp ' stdout && Exit 1 $MAKE clean $MAKE V=1 >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN foo' stdout && Exit 1 +grep 'GEN ' stdout && Exit 1 grep 'cp ' stdout $MAKE distclean @@ -61,7 +61,7 @@ $MAKE distclean ./configure --disable-silent-rules $MAKE >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN foo' stdout && Exit 1 +grep 'GEN ' stdout && Exit 1 grep 'cp ' stdout $MAKE distclean diff --git a/tests/silent7.test b/tests/silent7.test index e9536054a..cd8e1b5d8 100755 --- a/tests/silent7.test +++ b/tests/silent7.test @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,45 +46,44 @@ $AUTOCONF ./configure --disable-silent-rules $MAKE >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout && Exit 1 +grep 'GEN ' stdout && Exit 1 grep 'cp ' stdout grep 'echo ' stdout $MAKE clean $MAKE V=1 >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout && Exit 1 +grep 'GEN ' stdout && Exit 1 grep 'cp ' stdout grep 'echo ' stdout $MAKE clean $MAKE V=0 >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout +grep 'GEN .*foo' stdout grep 'cp ' stdout && Exit 1 grep 'echo ' stdout && Exit 1 - $MAKE distclean ./configure --enable-silent-rules $MAKE >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout +grep 'GEN .*foo' stdout grep 'cp ' stdout && Exit 1 grep 'echo ' stdout && Exit 1 $MAKE clean $MAKE V=0 >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout +grep 'GEN .*foo' stdout grep 'cp ' stdout && Exit 1 grep 'echo ' stdout && Exit 1 $MAKE clean $MAKE V=1 >stdout || { cat stdout; Exit 1; } cat stdout -grep 'GEN.*foo' stdout && Exit 1 +grep 'GEN ' stdout && Exit 1 grep 'cp ' stdout grep 'echo ' stdout