Skip to content

Commit 087afed

Browse files
committed
* fix Windows build -> test3
1 parent 2ca4426 commit 087afed

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,9 @@ echo Copying deps DLLs like official PHP does...
2626
set DEPS_DIR=C:\build-cache\deps-master-vs17-x64
2727
copy /-y %DEPS_DIR%\bin\*.dll %PHP_BUILD_DIR%\*
2828

29-
echo.
30-
echo Testing PHP executable...
31-
cd /d %PHP_BUILD_DIR%
32-
33-
echo Testing PHP directly...
34-
php.exe --version
35-
set PHP_EXIT_CODE=%errorlevel%
36-
37-
echo Exit code = %PHP_EXIT_CODE%
38-
if not "%PHP_EXIT_CODE%"=="0" (
39-
echo ERROR: PHP failed to start (exit code: %PHP_EXIT_CODE%)
40-
exit /b 1
41-
)
42-
43-
echo.
44-
echo PHP working! Checking if async extension is loaded...
45-
php.exe -m | findstr async
46-
if %errorlevel% neq 0 (
47-
echo WARNING: async extension not found in module list
48-
) else (
49-
echo SUCCESS: async extension is loaded
50-
)
51-
5229
echo.
5330
echo Running async extension tests...
54-
php.exe ..\..\run-tests.php --show-diff ..\ext\async\tests
31+
%PHP_BUILD_DIR%\php.exe run-tests.php --show-diff ext\async\tests
5532

5633
set TEST_EXIT_CODE=%errorlevel%
5734

0 commit comments

Comments
 (0)