diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index e19a6f6acaa..c092083651f 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -46,6 +46,20 @@ set ODBC_TEST_PASS=Password12! set ODBC_TEST_DSN=Driver={ODBC Driver 13 for SQL Server};Server=(local)\SQL2017;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS% set PDOTEST_DSN=odbc:%ODBC_TEST_DSN% +rem setup Firebird related exts +curl -sLo Firebird.zip https://github.com/FirebirdSQL/firebird/releases/download/v3.0.9/Firebird-3.0.9.33560-0_x64.zip +7z x -oC:\Firebird Firebird.zip +set PDO_FIREBIRD_TEST_DATABASE=C:\test.fdb +set PDO_FIREBIRD_TEST_DSN=firebird:dbname=%PDO_FIREBIRD_TEST_DATABASE% +set PDO_FIREBIRD_TEST_USER=SYSDBA +set PDO_FIREBIRD_TEST_PASS=phpfi +echo create database '%PDO_FIREBIRD_TEST_DATABASE%' user '%PDO_FIREBIRD_TEST_USER%' password '%PDO_FIREBIRD_TEST_PASS%';> C:\Firebird\setup.sql +C:\Firebird\instsvc.exe install -n TestInstance +C:\Firebird\isql -q -i C:\Firebird\setup.sql +C:\Firebird\instsvc.exe start -n TestInstance +if %errorlevel% neq 0 exit /b 3 +path C:\Firebird;%PATH% + rem prepare for ext/openssl if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win32 >NUL 2>NUL if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win64 >NUL 2>NUL @@ -111,7 +125,7 @@ rem work-around for some spawned PHP processes requiring OpenSSL echo extension=php_openssl.dll >> %PHP_BUILD_DIR%\php.ini rem remove ext dlls for which tests are not supported -for %%i in (ldap oci8_12c pdo_firebird pdo_oci) do ( +for %%i in (ldap oci8_12c pdo_oci) do ( del %PHP_BUILD_DIR%\php_%%i.dll ) diff --git a/ext/pdo/tests/bug_73234.phpt b/ext/pdo/tests/bug_73234.phpt index 01dcf401618..8f7c28df557 100644 --- a/ext/pdo/tests/bug_73234.phpt +++ b/ext/pdo/tests/bug_73234.phpt @@ -6,6 +6,7 @@ pdo diff --git a/ext/pdo/tests/gh8626.phpt b/ext/pdo/tests/gh8626.phpt index a77b06a22e1..30ecbf6d3ab 100644 --- a/ext/pdo/tests/gh8626.phpt +++ b/ext/pdo/tests/gh8626.phpt @@ -41,7 +41,7 @@ array(3) { [0]=> string(%d) "%s" [1]=> - int(%d) + int(%i) [2]=> string(%d) "%s%w%S" } diff --git a/ext/pdo/tests/pdo_039.phpt b/ext/pdo/tests/pdo_039.phpt index ecde2428769..04a87a372e7 100644 --- a/ext/pdo/tests/pdo_039.phpt +++ b/ext/pdo/tests/pdo_039.phpt @@ -6,6 +6,7 @@ pdo