File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 3030echo Testing PHP executable...
3131cd /d %PHP_BUILD_DIR%
3232
33- echo Enabling Loader Snaps for detailed DLL loading diagnostics...
34- gflags /i php.exe +sls > nul
35-
36- echo Running PHP under cdb with Loader Snaps...
37-
38- echo Checking for missing DLL errors:
39- cdb -c " g;qd" php.exe --version 2^ > ^ &1 ^
40- | findstr /i " LDR: Error .*unable to load"
41-
42- echo Getting full output and exit code:
43- for /f " tokens=*" %%L in ('
44- cdb -c " g;qd" php.exe --version 2^ > ^ &1
45- ') do (
46- echo %%L
47- if " %%L " == " Exit code" set " PHP_LINE = %%L "
48- )
49- for %%i in (%PHP_LINE% ) do set " PHP_EXIT_CODE = %%i "
33+ echo Testing PHP directly...
34+ php.exe --version
35+ set PHP_EXIT_CODE = %errorlevel%
5036
5137echo Exit code = %PHP_EXIT_CODE%
5238if not " %PHP_EXIT_CODE% " == " 0" (
@@ -76,9 +62,6 @@ if exist ..\ext\async\tests (
7662
7763set TEST_EXIT_CODE = %errorlevel%
7864
79- rem Disable Loader Snaps
80- gflags /i php.exe -sls > nul
81-
8265echo .
8366echo Tests completed with exit code: %TEST_EXIT_CODE%
8467exit /b %TEST_EXIT_CODE%
You can’t perform that action at this time.
0 commit comments