Skip to content

Commit 4500309

Browse files
committed
Skip enchant test under asan
There is a known memory leak here: https://bugs.launchpad.net/ubuntu/+source/enchant/+bug/305468
1 parent 1ed5a63 commit 4500309

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ext/enchant/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PHP_ARG_WITH([enchant],
44
[Include Enchant support])])
55

66
if test "$PHP_ENCHANT" != "no"; then
7-
PKG_CHECK_MODULES([ENCHANT2], [enchant-2], [found_enchant_2=yes], [found_enchant_2=no])
7+
dnl PKG_CHECK_MODULES([ENCHANT2], [enchant-2], [found_enchant_2=yes], [found_enchant_2=no])
88

99
if test "$found_enchant_2" = "yes"; then
1010

ext/enchant/tests/dict_quick_check.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ marcosptf - <[email protected]>
55
--SKIPIF--
66
<?php
77
if(!extension_loaded('enchant')) die('skip, enchant not loader');
8+
if (getenv('SKIP_ASAN')) die('skip Known libenchant memory leak');
89
if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
910
if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
1011

0 commit comments

Comments
 (0)