X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fcheck8.sh;h=41fe30796c42a3c88b920216a04ac535b2a25051;hb=6febcd41b3dcf99a89aaf21329c00fdadcd68771;hp=743d1bd00cedca4cfa1f9a77f95a606dcdf65f59;hpb=c3db23860e9e7f1171a5b3d2098f6079799befd4;p=platform%2Fupstream%2Fautomake.git diff --git a/t/check8.sh b/t/check8.sh old mode 100755 new mode 100644 index 743d1bd..41fe307 --- a/t/check8.sh +++ b/t/check8.sh @@ -64,10 +64,7 @@ $AUTOCONF $AUTOMAKE -a ./configure -AM_COLOR_TESTS=always $MAKE check >stdout 2>stderr && - { cat stdout; cat stderr >&2; exit 1; } -cat stdout -cat stderr >&2 +run_make -E -O -e FAIL check grep 'XPASS.* foo$' stdout grep '^[^X]*PASS.* sub/foo$' stdout grep '^[^X]*PASS.* bar' stdout @@ -84,8 +81,7 @@ $MAKE distclean mkdir build cd build ../configure -$MAKE check >stdout && { cat stdout; exit 1; } -cat stdout +run_make -O -e FAIL check # Note: we are not grepping for the space in the lines from the 'foo' # tests, due to the Solaris make VPATH rewriting (if we fix that, we # can still write a separate test for it).