summaryrefslogtreecommitdiff
path: root/t/parallel-tests-exeext.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/parallel-tests-exeext.sh')
-rw-r--r--t/parallel-tests-exeext.sh19
1 files changed, 12 insertions, 7 deletions
diff --git a/t/parallel-tests-exeext.sh b/t/parallel-tests-exeext.sh
index c1b6e6252..1c637f577 100644
--- a/t/parallel-tests-exeext.sh
+++ b/t/parallel-tests-exeext.sh
@@ -21,11 +21,8 @@
cat >> configure.ac << 'END'
dnl We need to fool the init.m4 internals a little.
-AC_DEFUN([_AM_FOO],
- [m4_provide([_AM_COMPILER_EXEEXT])
- AC_SUBST([CC], [false])
- AC_SUBST([EXEEXT])])
-_AM_FOO
+AC_SUBST([CC], [false])
+AC_SUBST([EXEEXT])
AC_OUTPUT
END
@@ -60,7 +57,15 @@ test ! -e y.bin.log
test -f b.log
test ! -e b.test.log
-$EGREP '^y\.log: y(\$\(EXEEXT\)|\.bin)' Makefile
-$EGREP '^\.test(\$\(EXEEXT\)|\.bin)\.log:' Makefile
+# Opportunistically check that we are not forced to specify
+# the test suffixes nor the $(EXEEXT) suffix when overriding
+# TESTS on the command line.
+rm -f *.log *.trs
+
+$MAKE check TESTS='y a b'
+ls -l # For debugging.
+test -f a.log
+test -f b.log
+test -f y.log
: