Skip to content

Commit 8c243c2

Browse files
committed
[skip ci] Skip dl tests on asan
These tests fail intermittently on ASAN on GitHub actions. We cannot reproduce this locally.
1 parent 9934026 commit 8c243c2

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

ext/standard/tests/general_functions/dl-001.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
--TEST--
22
dl(): Loaded extensions properly unregister their ini settings
33
--SKIPIF--
4-
<?php include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc"; ?>
4+
<?php
5+
include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc";
6+
if (getenv('SKIP_ASAN')) die('skip fails intermittently on ASAN');
7+
?>
58
--FILE--
69
<?php
710

ext/standard/tests/general_functions/dl-002.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ dl(): Extensions compiled against zend_register_ini_entries() are supported
33
--ENV--
44
PHP_DL_TEST_USE_OLD_REGISTER_INI_ENTRIES=1
55
--SKIPIF--
6-
<?php include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc"; ?>
6+
<?php
7+
include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc";
8+
if (getenv('SKIP_ASAN')) die('skip fails intermittently on ASAN');
9+
?>
710
--FILE--
811
<?php
912

ext/standard/tests/general_functions/dl-003.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
--TEST--
22
dl(): Loaded extensions support ini_set()
33
--SKIPIF--
4-
<?php include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc"; ?>
4+
<?php
5+
include dirname(__DIR__, 3) . "/dl_test/tests/skip.inc";
6+
if (getenv('SKIP_ASAN')) die('skip fails intermittently on ASAN');
7+
?>
58
--FILE--
69
<?php
710

0 commit comments

Comments
 (0)