Skip to content

Commit 136bc66

Browse files
committed
* fix Windows build -> clean
1 parent 54691f5 commit 136bc66

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,9 @@ echo.
3030
echo Testing PHP executable...
3131
cd /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

5137
echo Exit code = %PHP_EXIT_CODE%
5238
if not "%PHP_EXIT_CODE%"=="0" (
@@ -76,9 +62,6 @@ if exist ..\ext\async\tests (
7662

7763
set TEST_EXIT_CODE=%errorlevel%
7864

79-
rem Disable Loader Snaps
80-
gflags /i php.exe -sls >nul
81-
8265
echo.
8366
echo Tests completed with exit code: %TEST_EXIT_CODE%
8467
exit /b %TEST_EXIT_CODE%

0 commit comments

Comments
 (0)