[php-src] Issue #8419: make test fail while pdo_sqlite build
| From: | evrinoma | Date: | Thu, 21 Apr 2022 14:51:23 +0000 |
| Subject: | [php-src] Issue #8419: make test fail while pdo_sqlite build | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241132@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8419
Comment Author: evrinoma
Sure you are right, I didn't think about that I have to test dpo too
so next solution fix it
```php
--TEST--
SQLite
--EXTENSIONS--
pdo_sqlite
--REDIRECTTEST--
return array(
'ENV' => array(
'PDOTEST_DSN' => 'sqlite::memory:'
),
'TESTS' => __DIR__ . '/../../ext/pdo/tests'
);
```
all test pass
```
=====================================================================
TIME END 2022-04-21 14:47:19
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 13
---------------------------------------------------------------------
Number of tests : 124 118
Tests skipped : 6 ( 4.8%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 1 ( 0.8%) ( 0.8%)
Tests passed : 117 ( 94.4%) ( 99.2%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
```