summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-03-12 15:52:23 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-03-12 18:26:34 +0000
commit590d29db556974e9ffeb477a1a1932ff001d099f (patch)
tree3c710cb8b312d72e53f1071afeffec8c7d9ebb57 /win32
parent91f73676a9125d9b3d3f28a7074c33d41fa4f092 (diff)
downloadperl-590d29db556974e9ffeb477a1a1932ff001d099f.tar.gz
Fix minitest target in Win32 makefiles
Message-ID: <4051DCB7.107@uk.radan.com> p4raw-id: //depot/perl@22489
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile10
-rw-r--r--win32/makefile.mk7
2 files changed, 9 insertions, 8 deletions
diff --git a/win32/Makefile b/win32/Makefile
index d84b4a855f..0d45d09188 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -1124,13 +1124,13 @@ inst_lib : $(CONFIGPM)
$(RCOPY) ..\lib $(INST_LIB)\*.*
minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils
- $(XCOPY) $(MINIPERL) ..\t\perl.exe
+ $(XCOPY) $(MINIPERL) ..\t\$(NULL)
+ if exist ..\t\perl.exe del /f ..\t\perl.exe
+ rename ..\t\miniperl.exe perl.exe
$(XCOPY) $(GLOBEXE) ..\t\$(NULL)
attrib -r ..\t\*.*
- copy test ..\t
- cd ..\t
- $(MINIPERL) -I..\lib test base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
- cd ..\win32
+ cd ..\t && \
+ $(MINIPERL) -I..\lib harness base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
test-prep : all utils
$(XCOPY) $(PERLEXE) ..\t\$(NULL)
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 214799565d..03476dd26a 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1257,16 +1257,17 @@ inst_lib : $(CONFIGPM)
$(RCOPY) ..\lib $(INST_LIB)\*.*
minitest : $(MINIPERL) $(GLOBEXE) $(CONFIGPM) utils
- $(XCOPY) $(MINIPERL) ..\t\perl.exe
+ $(XCOPY) $(MINIPERL) ..\t\$(NULL)
+ if exist ..\t\perl.exe del /f ..\t\perl.exe
+ rename ..\t\miniperl.exe perl.exe
.IF "$(CCTYPE)" == "BORLAND"
$(XCOPY) $(GLOBBAT) ..\t\$(NULL)
.ELSE
$(XCOPY) $(GLOBEXE) ..\t\$(NULL)
.ENDIF
attrib -r ..\t\*.*
- copy test ..\t
cd ..\t && \
- $(MINIPERL) -I..\lib test base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
+ $(MINIPERL) -I..\lib harness base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t
test-prep : all utils
$(XCOPY) $(PERLEXE) ..\t\$(NULL)