File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,20 @@ if not exist "%PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\en_US.aff" (
89
89
mkdir %LOCALAPPDATA% \enchant\hunspell
90
90
copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR% \* %LOCALAPPDATA% \enchant\hunspell
91
91
92
- set TEST_PHPDBG_EXECUTABLE = %PHP_BUILD_OBJ_DIR% \Release
93
- if " %THREAD_SAFE% " equ " 1" set TEST_PHPDBG_EXECUTABLE = %TEST_PHPDBG_EXECUTABLE% _TS
94
- set TEST_PHPDBG_EXECUTABLE = %TEST_PHPDBG_EXECUTABLE% \phpdbg.exe
92
+ set PHP_BUILD_DIR = %PHP_BUILD_OBJ_DIR% \Release
93
+ if " %THREAD_SAFE% " equ " 1" set PHP_BUILD_DIR = %PHP_BUILD_DIR% _TS
94
+
95
+ rem overwrite tmp-php.ini
96
+ echo extension_dir=%PHP_BUILD_DIR% > %PHP_BUILD_DIR% \tmp-php.ini
97
+ echo opcache.file_cache=%PHP_BUILD_DIR% \test_file_cache >> %PHP_BUILD_DIR% \tmp-php.ini
98
+ if " %OPCACHE% " equ " 1" echo zend_extension=php_opcache.dll >> %PHP_BUILD_DIR% \tmp-php.ini
99
+
100
+ rem remove ext dlls for which tests are not supported
101
+ for %%i in (imap ldap oci8_12c pdo_firebird pdo_oci snmp) do (
102
+ del %PHP_BUILD_DIR% \php_%%i .dll
103
+ )
104
+
105
+ set TEST_PHPDBG_EXECUTABLE = %PHP_BUILD_DIR% \phpdbg.exe
95
106
96
107
mkdir c:\tests_tmp
97
108
You can’t perform that action at this time.
0 commit comments