summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2007-07-25 19:13:56 +0000
committerYves Orton <demerphq@gmail.com>2007-07-25 19:13:56 +0000
commit3d18daf17a4d86d225ca95b5df455e3b4b1ae222 (patch)
treee2428500108728dd0df709b67a3f6e59da150330 /Makefile.SH
parentb588327ed1e1ecf1e38d4a4782599a7ac98346c7 (diff)
downloadperl-3d18daf17a4d86d225ca95b5df455e3b4b1ae222.tar.gz
Allow TEST_FILES make var to be used to pass an argument list through to harness when using the test_harness target.
This allows things like make test_harness TEST_FILES='-re x2p' which will run any test files that match the string 'x2p'. As x2p is the last test to be run this is kinda useful. p4raw-id: //depot/perl@31658
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 8215b4cb03..d8232873fd 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1177,10 +1177,10 @@ test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dyn
PERL=./perl $(MAKE) _test_prep
_test_tty:
- cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) </dev/tty
+ cd t && $(PERL_DEBUG) $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES) </dev/tty
_test_notty:
- cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS)
+ cd t && $(PERL_DEBUG) PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) $(PERL) $(TESTFILE) $(TEST_ARGS) $(TEST_FILES)
unpack_files:
$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib uupacktool.pl -u -m