summaryrefslogtreecommitdiff
path: root/t/test-trs-basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/test-trs-basic.sh')
-rw-r--r--t/test-trs-basic.sh28
1 files changed, 14 insertions, 14 deletions
diff --git a/t/test-trs-basic.sh b/t/test-trs-basic.sh
index 85b3fbbc6..ffee22c2e 100644
--- a/t/test-trs-basic.sh
+++ b/t/test-trs-basic.sh
@@ -31,9 +31,10 @@ TEST_LOG_COMPILER = $(SHELL)
SH_LOG_COMPILER = $(SHELL)
## Used to check some internal details. And yes, the quotes around
-## '$bases' are deliberate: they check for whitespace normalization.
+## $(am__tests_bases) are deliberate: they check for whitespace
+## normalization.
tb:
- $(am__set_TESTS_bases); echo "$$bases" > $@
+ echo '$(am.test-suite.test-bases)' > $@
END
cat > foo.test << 'END'
@@ -50,7 +51,6 @@ $ACLOCAL
$AUTOCONF
$AUTOMAKE -a
-
#
# Check some internal details first.
#
@@ -71,7 +71,7 @@ for vpath in : false; do
test x"$(cat tb)" = x"foo bar sub/zardoz"
rm -f tb
# Please don't change the order of the stuff in TESTS, below.
- run_make TESTS='foo.test foo2.sh foo-log foolog.test a.log.b.sh 0.exe' tb
+ $MAKE TESTS='foo.test foo2.sh foo-log foolog.test a.log.b.sh 0.exe' tb
test x"$(cat tb)" = x"foo foo2 foo-log foolog a.log.b 0.exe"
rm -f tb
@@ -113,43 +113,43 @@ test -f unrelated.trs
test -f sub/foo.trs
#
-# Try with a subset of TESTS.
+# Try with a subset of TESTS, complete with test extensions.
#
-run_make TESTS=foo.test check
+$MAKE TESTS=foo.test check
test -f foo.trs
test ! -e bar.trs
test ! -e sub/zardoz.trs
$MAKE clean
test ! -e foo.trs
-run_make TESTS='foo.test bar.sh' check
+$MAKE TESTS='foo.test bar.sh' check
test -f foo.trs
test -f bar.trs
test ! -e sub/zardoz.trs
# "make clean" shouldn't remove '.trs' files for tests not in $(TESTS).
-run_make TESTS=bar.sh clean
+$MAKE TESTS=bar.sh clean
test -f foo.trs
test ! -e bar.trs
$MAKE clean
#
-# Try with a subset of TEST_LOGS.
+# Try with a subset of TESTS, omitting the test extensions.
#
-run_make TEST_LOGS=sub/zardoz.log check
+$MAKE TESTS=sub/zardoz check
test ! -e foo.trs
test ! -e bar.trs
test -f sub/zardoz.trs
$MAKE clean
test ! -e sub/zardoz.trs
-run_make TEST_LOGS='foo.log bar.log' check
+$MAKE TESTS='foo bar' check
test -f foo.trs
test -f bar.trs
test ! -e sub/zardoz.trs
-# "make clean" shouldn't remove '.trs' files for tests whose log
-# is not in $(TEST_LOGS).
-run_make TEST_LOGS=foo.log clean
+# "make clean" shouldn't remove '.trs' files for tests that are not
+# in is not in $(TESTS).
+$MAKE TESTS=foo clean
test ! -e foo.trs
test -f bar.trs
test ! -e sub/zardoz.trs