summaryrefslogtreecommitdiff
path: root/t/check-no-test-driver.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/check-no-test-driver.sh')
-rwxr-xr-xt/check-no-test-driver.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/t/check-no-test-driver.sh b/t/check-no-test-driver.sh
index 7df5251f8..9632e8e8d 100755
--- a/t/check-no-test-driver.sh
+++ b/t/check-no-test-driver.sh
@@ -15,13 +15,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Check that auxiliary script 'test-driver' doesn't get needlessly
-# installed or referenced when the 'parallel-tests' option is not
-# used.
+# installed or referenced when the 'serial-tests' option is used.
am_serial_tests=yes
-. ./defs || exit 1
+. test-init.sh
-echo 'TESTS = foo.test' > Makefile.am
+cat > Makefile.am <<'END'
+AUTOMAKE_OPTIONS = serial-tests
+TESTS = foo.test
+END
$ACLOCAL