diff options
author | Yves Orton <demerphq@gmail.com> | 2022-11-03 19:50:48 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-11-08 18:58:05 +0100 |
commit | ae2b6712d6e12bc32e94a8c5838d6446c7ef8cc4 (patch) | |
tree | 15ed6f6092119d34249e88c86e3da0ce9c9162d7 /win32 | |
parent | 6d4ab294f12024ec5eba77414b688b496759d974 (diff) | |
download | perl-ae2b6712d6e12bc32e94a8c5838d6446c7ef8cc4.tar.gz |
pod/perlhacks.pod - document TEST_ARGS and make win32 perl use it too
Win32 has had TEST_SWITCHES and TEST_FILES for ages. Unix has
TEST_ARGS. This extends Win32 to support TEST_ARGS as well. I
havent made the contrary change to the unix code, anyone using
TEST_SWITCHES is already using it on Win32.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/GNUmakefile | 8 | ||||
-rw-r--r-- | win32/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/win32/GNUmakefile b/win32/GNUmakefile index 0b2befd83f..5fd71fcc94 100644 --- a/win32/GNUmakefile +++ b/win32/GNUmakefile @@ -1819,11 +1819,11 @@ endif test : test-prep set PERL_STATIC_EXT=$(STATIC_EXT) && \ - cd ..\t && perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + cd ..\t && perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) test_porting : test-prep set PERL_STATIC_EXT=$(STATIC_EXT) && \ - cd ..\t && perl.exe harness $(TEST_SWITCHES) porting\*.t ..\lib\diagnostics.t + cd ..\t && perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) porting\*.t ..\lib\diagnostics.t test-reonly : reonly utils $(XCOPY) $(PERLEXE) ..\t\$(NULL) @@ -1837,14 +1837,14 @@ regen : test-notty : test-prep set PERL_STATIC_EXT=$(STATIC_EXT) && \ set PERL_SKIP_TTY_TEST=1 && \ - cd ..\t && perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + cd ..\t && perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) _test : $(XCOPY) $(PERLEXE) ..\t\$(NULL) $(XCOPY) $(PERLDLL) ..\t\$(NULL) $(XCOPY) $(GLOBEXE) ..\t\$(NULL) set PERL_STATIC_EXT=$(STATIC_EXT) && \ - cd ..\t && perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + cd ..\t && perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) _clean : -@erase miniperlmain$(o) diff --git a/win32/Makefile b/win32/Makefile index 3c443cf302..92325c66dc 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1325,12 +1325,12 @@ test-prep : all utils ../pod/perltoc.pod test : test-prep cd ..\t - perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) cd ..\win32 test_porting : test-prep cd ..\t - perl.exe harness $(TEST_SWITCHES) porting\*.t ..\lib\diagnostics.t + perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) porting\*.t ..\lib\diagnostics.t cd ..\win32 test-reonly : reonly utils @@ -1349,7 +1349,7 @@ regen : test-notty : test-prep set PERL_SKIP_TTY_TEST=1 cd ..\t - perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) cd ..\win32 _test : @@ -1357,7 +1357,7 @@ _test : $(XCOPY) $(PERLDLL) ..\t\$(NULL) $(XCOPY) $(GLOBEXE) ..\t\$(NULL) cd ..\t - perl.exe harness $(TEST_SWITCHES) $(TEST_FILES) + perl.exe harness $(TEST_ARGS) $(TEST_SWITCHES) $(TEST_FILES) cd ..\win32 _clean : |