File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,15 @@ Function Invoke-Tests {
2424 $env: PHP_AMQP_HOST = " rabbitmq"
2525 $env: PHP_AMQP_SSL_HOST = " rabbitmq.example.org"
2626 if ($Config.name -eq ' pdo_oci' ) {
27+ $env: TEST_WORKERS = 1
2728 Get-PhpSrc - PhpVersion $Config.php_version
29+
30+ # This test is not compatible with Oracle XE
31+ $testPath = " $currentDirectory \php-$ ( $Config.php_version ) -src\ext\pdo\tests\gh20553.phpt"
32+ if (Test-Path $testPath ) {
33+ Remove-Item $testPath - Force
34+ }
35+
2836 $env: PDO_TEST_DIR = " $currentDirectory \php-$ ( $Config.php_version ) -src\ext\pdo\tests"
2937 $env: PDO_OCI_TEST_DIR = " $currentDirectory \tests"
3038 $env: PDO_OCI_TEST_USER = " system"
@@ -72,6 +80,7 @@ Function Invoke-Tests {
7280 if ($null -ne $env: TEST_WORKERS -and $env: TEST_WORKERS -ne ' ' ) {
7381 $test_workers = $env: TEST_WORKERS
7482 }
83+
7584 if ($Config.php_version -ge ' 7.4' -and $test_runner_args -notcontains ' -j' ) {
7685 $test_runner_args += (' -j' + $test_workers )
7786 }
You can’t perform that action at this time.
0 commit comments