Change 31658 by [EMAIL PROTECTED] on 2007/07/25 19:13:56

        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.

Affected files ...

... //depot/perl/Makefile.SH#388 edit

Differences ...

==== //depot/perl/Makefile.SH#388 (text) ====
Index: perl/Makefile.SH
--- perl/Makefile.SH#387~31598~ 2007-07-12 08:16:56.000000000 -0700
+++ perl/Makefile.SH    2007-07-25 12:13:56.000000000 -0700
@@ -1177,10 +1177,10 @@
        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
End of Patch.

Reply via email to