[PECL-CVS] [pecl-database-pdo_oci] main: Skip gh20553.phpt test from php-src
[email protected] (Shivam Mathur via Sharad Chandran R)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Shivam Mathur (shivammathur)
Committer: Sharad Chandran R (sharadraju)
Date: 2025-12-30T10:40:20+05:30
Commit: https://github.com/php/pecl-database-pdo_oci/commit/fea6d3acf34a454bf9d2d21ade13b9d0b48953ca
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/fea6d3acf34a454bf9d2d21ade13b9d0b48953ca.diff
Skip gh20553.phpt test from php-src
SELECT <literals> without a FROM clause is not supported in Oracle, so the query in the test fails with the error ORA-00923
Changed paths:
M .github/workflows/ci.yml
Diff:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 32c254e..c23467e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -96,6 +96,11 @@ jobs:
echo 'extension=pdo_oci.so' | sudo tee /etc/php/${{ matrix.version }}/mods-available/pdo_oci.ini
sudo phpenmod -v ${{ matrix.version }} pdo_oci
php --ri pdo_oci
+ - name: Remove unsupported php-src tests
+ run: |
+ # Test gh20553.phpt is not compatible with Oracle.
+ # SELECT <literals> without a FROM clause is not supported in Oracle (ORA-00923).
+ rm -rf php-src/ext/pdo/tests/gh20553.phpt
- name: Run tests /w Oracle ${{ matrix.oracle }}
run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests
env: