Skip to content

Commit e8d4d87

Browse files
committed
Add xfail for failing/incompatible tests
1 parent 90e53fd commit e8d4d87

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ext/pdo/tests/bug_73234.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ $dir = getenv('REDIR_TEST_DIR');
77
if (false == $dir) die('skip no driver');
88
require_once $dir . 'pdo_test.inc';
99
PDOTest::skip();
10+
11+
$db = PDOTest::factory();
12+
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
13+
die("xfail PDO::PARAM_NULL is not honored by OCI driver, related with bug #81586");
14+
}
1015
?>
1116
--FILE--
1217
<?php

ext/pdo/tests/gh8626.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ $dir = getenv('REDIR_TEST_DIR');
77
if (false == $dir) die('skip no driver');
88
require_once $dir . 'pdo_test.inc';
99
PDOTest::skip();
10+
11+
$db = PDOTest::factory();
12+
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'oci') {
13+
die("xfail OCI driver errorInfo is inconsistent with other PDO drivers");
14+
}
1015
?>
1116
--FILE--
1217
<?php

0 commit comments

Comments
 (0)