automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {maint} tests: avoid few lingering $MAKE redirections


From: Stefano Lattarini
Subject: [FYI] {maint} tests: avoid few lingering $MAKE redirections
Date: Thu, 23 May 2013 20:48:37 +0200

These were present in the 'maint' branch, but not in the 'micro' branch.
Their occurrences has been found by the 'sc_tests_no_run_make_redirect'
maintainer check.

* t/fort2.sh: Adjust.
* t/preproc-demo.sh: Likewise.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/fort2.sh        | 6 ++----
 t/preproc-demo.sh | 3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/t/fort2.sh b/t/fort2.sh
index d614452..c2c0f03 100644
--- a/t/fort2.sh
+++ b/t/fort2.sh
@@ -66,10 +66,8 @@ $AUTOCONF
 touch hello.f90 foo.f95 sub/bar.f95 hi.f03 sub/howdy.f03 greets.f08 \
       sub/bonjour.f08 bye.f95 sub/baz.f90
 
-$MAKE -n \
-  address@hidden address@hidden address@hidden address@hidden \
-  > stdout || { cat stdout; exit 1; }
-cat stdout
+run_make -O -- -n \
+  address@hidden address@hidden address@hidden address@hidden
 # To make it easier to have  stricter grepping below.
 sed -e 's/[    ][      ]*/  /g' -e 's/^/ /' -e 's/$/ /' stdout > out
 cat out
diff --git a/t/preproc-demo.sh b/t/preproc-demo.sh
index 4c1b2d9..1f29057 100644
--- a/t/preproc-demo.sh
+++ b/t/preproc-demo.sh
@@ -213,8 +213,7 @@ test -f build-aux/compile
 
 $MAKE
 
-VERBOSE=x $MAKE check >stdout || { cat stdout; exit 1; }
-cat stdout
+run_make -O check VERBOSE=x
 cat tests/built.log
 cat tests/hello.log
 cat tests/goodbye.log
-- 
1.8.3.rc2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]