Skip to content

Commit 4a8cca2

Browse files
committedSep 8, 2022
Skip oci tests that leak under asan
1 parent aa7f449 commit 4a8cca2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎ext/oci8/tests/privileged_connect1.phpt

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
--TEST--
22
privileged connect tests
33
--SKIPIF--
4-
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
4+
<?php
5+
if (!extension_loaded('oci8')) die("skip no oci8 extension");
6+
if (getenv('SKIP_ASAN')) die('skip leaks memory under asan');
7+
?>
58
--INI--
69
oci8.privileged_connect=1
710
--FILE--

‎ext/pdo_oci/tests/pecl_bug_6364.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ PECL PDO_OCI Bug #6364 (segmentation fault on stored procedure call with OUT bin
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded');
6+
if (getenv('SKIP_ASAN')) die('skip leaks memory under asan');
67
require(__DIR__.'/../../pdo/tests/pdo_test.inc');
78
PDOTest::skip();
89
?>

0 commit comments

Comments
 (0)
Please sign in to comment.