X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fparallel-tests-log-compiler-1.sh;h=9214a071e26e1a698deb36919ea5a6129cdf17cd;hb=5470c2dd9a594dc3cec553cd8ee052841ee5b8bd;hp=10519e0724d35211fb5cea70bad1a4115a9cc7b5;hpb=9465eb2651d9af30519882c4b583acc8ce91b8bb;p=platform%2Fupstream%2Fautomake.git diff --git a/t/parallel-tests-log-compiler-1.sh b/t/parallel-tests-log-compiler-1.sh index 10519e0..9214a07 100755 --- a/t/parallel-tests-log-compiler-1.sh +++ b/t/parallel-tests-log-compiler-1.sh @@ -17,9 +17,9 @@ # Check parallel-tests features: # - per-extension "test runners" a.k.a. "log compilers" (xxx_LOG_COMPILER # and xxx_LOG_FLAGS), also with AC_SUBST'd stuff. -# See also related test 'parallel-tests-log-compiler-2.test'. +# See also related test 'parallel-tests-log-compiler-2.sh'. -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_SUBST([acsubst_compiler], [t-compiler]) @@ -101,7 +101,7 @@ $AUTOCONF $AUTOMAKE -a ./configure -$MAKE check || { cat test-suite.log; Exit 1; } +$MAKE check || { cat test-suite.log; exit 1; } ls -l . sub cat test-suite.log test -f foo.log @@ -111,13 +111,13 @@ test -f bla.log test -f bli.suff.log test -f sub/test.log -T_LOG_FLAGS=--bad $MAKE -e check && Exit 1 +T_LOG_FLAGS=--bad $MAKE -e check && exit 1 cat test-suite.log cat bla.log # With the above flag overridden, bla.t should fail ... $EGREP '(^ *|/)t-compiler:.* invalid .*--bad' bla.log # ... but no other test should. -grep -v '^FAIL: bla\.t ' bla.log | grep 'FAIL:' && Exit 1 +grep -v '^FAIL: bla\.t ' bla.log | grep 'FAIL:' && exit 1 # Try also with a VPATH build. $MAKE distcheck