Updated Appveyor to test against PHP 8.0.0 beta 4 (#1193)
This commit is contained in:
parent
cb6364b343
commit
d2c7254442
|
@ -30,7 +30,7 @@ environment:
|
|||
SQL_INSTANCE: SQL2019
|
||||
PHP_VC: vs16
|
||||
PHP_MAJOR_VER: 8.0
|
||||
PHP_MINOR_VER: 0beta2
|
||||
PHP_MINOR_VER: 0beta4
|
||||
PHP_EXE_PATH: Release
|
||||
THREAD: nts
|
||||
platform: x86
|
||||
|
@ -119,7 +119,7 @@ test_script:
|
|||
- ps: >-
|
||||
If ($env:BUILD_PLATFORM -Match "x86") {
|
||||
Write-Host "Running phpt tests via OpenCppCoverage..."
|
||||
OpenCppCoverage.exe --sources ${env:PHP_SRC_DIR}\*sqlsrv --modules ${env:PHP_EXE_PATH}\php*sqlsrv.dll --excluded_sources ${env:PHP_SRC_DIR}\pdo_sqlsrv\shared\core_stream.cpp --export_type=cobertura:c:\projects\coverage.xml --quiet --cover_children --continue_after_cpp_exception --optimized_build -- .\php.exe run-tests.php -P ${env:APPVEYOR_BUILD_FOLDER}\test\functional\ | out-file -filePath ${env:APPVEYOR_BUILD_FOLDER}\test\functional\tests.log -encoding UTF8;
|
||||
OpenCppCoverage.exe --sources ${env:PHP_SRC_DIR}\*sqlsrv --modules ${env:PHP_EXE_PATH}\php*sqlsrv.dll --excluded_sources ${env:PHP_SRC_DIR}\pdo_sqlsrv\shared\core_stream.cpp --export_type=cobertura:c:\projects\coverage.xml --quiet --cover_children --continue_after_cpp_exception --optimized_build -- .\php.exe run-tests.php -P ${env:APPVEYOR_BUILD_FOLDER}\test\functional\ --no-color | out-file -filePath ${env:APPVEYOR_BUILD_FOLDER}\test\functional\tests.log -encoding UTF8;
|
||||
Write-Host "Showing the last 25 lines of the log file..."
|
||||
Get-Content ${env:APPVEYOR_BUILD_FOLDER}\test\functional\tests.log -Tail 25;
|
||||
ls *.xml
|
||||
|
|
|
@ -146,34 +146,34 @@ sqlsrv_configure.
|
|||
}
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
sqlsrv_configure() expects exactly 2 parameters, 1 given
|
||||
--EXPECTREGEX--
|
||||
sqlsrv_configure\(\) expects exactly 2 (parameters|arguments), 1 given
|
||||
Array
|
||||
(
|
||||
[0] => Array
|
||||
(
|
||||
[0] => IMSSP
|
||||
[SQLSTATE] => IMSSP
|
||||
[1] => -14
|
||||
[code] => -14
|
||||
[2] => An invalid parameter was passed to sqlsrv_configure.
|
||||
[message] => An invalid parameter was passed to sqlsrv_configure.
|
||||
)
|
||||
\(
|
||||
\[0] => Array
|
||||
\(
|
||||
\[0\] => IMSSP
|
||||
\[SQLSTATE\] => IMSSP
|
||||
\[1\] => -14
|
||||
\[code\] => -14
|
||||
\[2\] => An invalid parameter was passed to sqlsrv_configure.
|
||||
\[message\] => An invalid parameter was passed to sqlsrv_configure.
|
||||
\)
|
||||
|
||||
)
|
||||
\)
|
||||
Array
|
||||
(
|
||||
[0] => Array
|
||||
(
|
||||
[0] => IMSSP
|
||||
[SQLSTATE] => IMSSP
|
||||
[1] => -14
|
||||
[code] => -14
|
||||
[2] => An invalid parameter was passed to sqlsrv_get_config.
|
||||
[message] => An invalid parameter was passed to sqlsrv_get_config.
|
||||
)
|
||||
\(
|
||||
\[0\] => Array
|
||||
\(
|
||||
\[0\] => IMSSP
|
||||
\[SQLSTATE\] => IMSSP
|
||||
\[1\] => -14
|
||||
\[code\] => -14
|
||||
\[2\] => An invalid parameter was passed to sqlsrv_get_config.
|
||||
\[message\] => An invalid parameter was passed to sqlsrv_get_config.
|
||||
\)
|
||||
|
||||
)
|
||||
\)
|
||||
sqlsrv.LogSubsystems = -1
|
||||
sqlsrv_configure: entering
|
||||
sqlsrv.LogSubsystems = 8
|
||||
|
|
Loading…
Reference in a new issue