com php-src: add run target: win32/build/Makefile
| From: | Anatol Belski | Date: | Tue, 01 Nov 2016 12:50:46 +0000 |
| Subject: | com php-src: add run target: win32/build/Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95374@lists.php.net to get a copy of this message | ||
Commit: 197def7233dbbd4c09342d1987836556186ac9ed
Author: Anatol Belski <ab@php.net> Tue, 1 Nov 2016 13:50:46 +0100
Parents: 4b472b07633c2288bef1a16cfbd695c494db2fa4
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=197def7233dbbd4c09342d1987836556186ac9ed
Log:
add run target
With this it is possible to run some code with the currently compiled
PHP and all the required environment included.
Changed paths:
M win32/build/Makefile
Diff:
diff --git a/win32/build/Makefile b/win32/build/Makefile
index 9f38936..f4125e0 100644
--- a/win32/build/Makefile
+++ b/win32/build/Makefile
@@ -154,9 +154,15 @@ clean-pgo: clean-all
!if $(PHP_TEST_INI_PATH) == ""
test: set-tmp-env
"$(BUILD_DIR)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p
"$(BUILD_DIR)\php.exe"
+
+run: set-tmp-env
+ "$(BUILD_DIR)\php.exe" $(ARGS)
!else
test: set-tmp-env
"$(BUILD_DIR)\php.exe" -n -c $(PHP_TEST_INI_PATH) -d open_basedir= -d output_buffering=0
-d memory_limit=-1 run-tests.php -p "$(BUILD_DIR)\php.exe" -n -c $(PHP_TEST_INI_PATH)
$(TESTS)
+
+run: set-tmp-env
+ "$(BUILD_DIR)\php.exe" -n -c $(PHP_TEST_INI_PATH) $(ARGS)
!endif
build-snap: set-tmp-env generated_files