File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ build-lib: build-ext-libs
191
191
build-devel : build-headers build-lib
192
192
@if not exist $(BUILD_DIR_DEV ) \s cript mkdir $(BUILD_DIR_DEV ) \s cript > nul
193
193
@if not exist $(BUILD_DIR_DEV ) \b uild mkdir $(BUILD_DIR_DEV ) \b uild > nul
194
+ @copy run-tests.php $(BUILD_DIR_DEV ) \s cript\ /y > nul
194
195
@copy win32\b uild\c onfutils.js $(BUILD_DIR_DEV ) \s cript\ /y > nul
195
196
@copy win32\b uild\c onfigure.tail $(BUILD_DIR_DEV ) \s cript\ /y > nul
196
197
@copy win32\b uild\c onfig.w32.phpize.in $(BUILD_DIR_DEV ) \s cript\ /y > nul
Original file line number Diff line number Diff line change @@ -26,6 +26,15 @@ clean: clean-pecl
26
26
@for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @del /F /Q %D\*.* > NUL
27
27
-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-Win32.zip $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)-Win32.zip > NUL
28
28
29
+ !if "$(EXT_TARGETS)" == ""
30
+ _EXTENSION_DLL=$(PECL_TARGETS)
31
+ !else
32
+ _EXTENSION_DLL=$(EXT_TARGETS)
33
+ !endif
34
+
35
+ test:
36
+ "$(PHP_PREFIX)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(PHP_PREFIX)\php.exe" -d extension=$(BUILD_DIR)\$(_EXTENSION_DLL)
37
+
29
38
!if $(MT) == ""
30
39
_VC_MANIFEST_EMBED_EXE=
31
40
_VC_MANIFEST_EMBED_DLL=
Original file line number Diff line number Diff line change @@ -268,3 +268,5 @@ C.Write(file_get_contents(PHP_DIR + "\\script\\configure.tail"));
268
268
269
269
B.WriteLine("@echo off");
270
270
B.WriteLine("cscript /nologo configure.js %*");
271
+
272
+ FSO.CopyFile(PHP_DIR + "\\script\\run-tests.php", "run-tests.php", true);
You can’t perform that action at this time.
0 commit comments