summaryrefslogtreecommitdiff
path: root/t/fort2.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-23 20:48:03 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-23 20:48:03 +0200
commitaba3b0abf71bcd600fcb142b307b9c6955205298 (patch)
treee43992a8c95d83492e3a04f175a5ef1191295e36 /t/fort2.sh
parent86e45fe19374b87b6a9adaeb3ecc93e51c7d54a7 (diff)
downloadautomake-aba3b0abf71bcd600fcb142b307b9c6955205298.tar.gz
tests: avoid few lingering $MAKE redirections
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 't/fort2.sh')
-rw-r--r--t/fort2.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/fort2.sh b/t/fort2.sh
index d61445296..c2c0f0359 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 \
- FCFLAGS_f90=--@90 FCFLAGS_f95=--@95 FCFLAGS_f03=--@03 FCFLAGS_f08=--@08 \
- > stdout || { cat stdout; exit 1; }
-cat stdout
+run_make -O -- -n \
+ FCFLAGS_f90=--@90 FCFLAGS_f95=--@95 FCFLAGS_f03=--@03 FCFLAGS_f08=--@08
# To make it easier to have stricter grepping below.
sed -e 's/[ ][ ]*/ /g' -e 's/^/ /' -e 's/$/ /' stdout > out
cat out