1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Skip xleak tests on asan (#11610)

Fixes GH-11077
This commit is contained in:
Ilija Tovilo
2023-07-07 09:24:05 +02:00
committed by GitHub
parent 11aee73572
commit d397fec129

View File

@@ -2477,7 +2477,10 @@ TEST $file
if ($test->hasSection('XLEAK')) {
$env['ZEND_ALLOC_PRINT_LEAKS'] = '0';
if (isset($env['SKIP_ASAN'])) {
$env['LSAN_OPTIONS'] = 'detect_leaks=0';
// $env['LSAN_OPTIONS'] = 'detect_leaks=0';
/* For unknown reasons, LSAN_OPTIONS=detect_leaks=0 would occasionally not be picked up
* in CI. Skip the test with ASAN, as it's not worth investegating. */
return skip_test($tested, $tested_file, $shortname, 'xleak does not work with asan');
}
}