Skip to content

Commit cd996b5

Browse files
committed
% change test_task.bat
1 parent b586e29 commit cd996b5

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,25 @@ if exist "%PHP_BUILD_DIR%\php.exe" (
2424
echo.
2525
echo Copying deps DLLs like official PHP does...
2626
set DEPS_DIR=C:\build-cache\deps-master-vs17-x64
27-
copy /-y %DEPS_DIR%\bin\*.dll %PHP_BUILD_DIR%\*
27+
28+
echo Checking if DEPS_DIR exists: %DEPS_DIR%
29+
if exist "%DEPS_DIR%\bin" (
30+
echo FOUND: %DEPS_DIR%\bin
31+
dir "%DEPS_DIR%\bin\*.dll" /b
32+
) else (
33+
echo ERROR: %DEPS_DIR%\bin not found!
34+
exit /b 1
35+
)
36+
37+
echo.
38+
echo Copying DLL files...
39+
copy /y "%DEPS_DIR%\bin\*.dll" "%PHP_BUILD_DIR%\"
40+
if %errorlevel% neq 0 (
41+
echo ERROR: Failed to copy DLL files (exit code: %errorlevel%)
42+
exit /b 1
43+
) else (
44+
echo SUCCESS: DLL files copied
45+
)
2846

2947
echo.
3048
echo Running async extension tests...

0 commit comments

Comments
 (0)