summaryrefslogtreecommitdiff
path: root/win32/build/phpize.js.in
diff options
context:
space:
mode:
authory-uti <y.uchiyama.1015@gmail.com>2016-03-28 19:50:31 +0900
committerAnatol Belski <ab@php.net>2016-07-25 09:46:06 +0200
commit0f9bf85ad9a18a5cbd314f00030626f2d21be49e (patch)
tree6faf178a121ecfa55e89a0a01fa1ab51daec52db /win32/build/phpize.js.in
parent6ed71363714a6225a69d748d3b8ab2e565e1ea44 (diff)
downloadphp-git-0f9bf85ad9a18a5cbd314f00030626f2d21be49e.tar.gz
Enable 'nmake test' on building extensions
On Windows, Makefile generated by phpize doesn't have the 'test' target rule. This commit fixes that and enables 'nmake test' on Windows.
Diffstat (limited to 'win32/build/phpize.js.in')
-rw-r--r--win32/build/phpize.js.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/build/phpize.js.in b/win32/build/phpize.js.in
index e610897b4c..f3fc8c48d5 100644
--- a/win32/build/phpize.js.in
+++ b/win32/build/phpize.js.in
@@ -262,3 +262,5 @@ C.Write(file_get_contents(PHP_DIR + "\\script\\configure.tail"));
B.WriteLine("@echo off");
B.WriteLine("cscript /nologo configure.js %*");
+
+FSO.CopyFile(PHP_DIR + "\\script\\run-tests.php", "run-tests.php", true);