We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118473e commit a7cc220Copy full SHA for a7cc220
run-tests.php
@@ -585,8 +585,11 @@ function main(): void
585
586
$lsanSuppressions = __DIR__ . '/.github/lsan-suppressions.txt';
587
if (file_exists($lsanSuppressions)) {
588
- $environment['LSAN_OPTIONS'] = 'suppressions=' . $lsanSuppressions
589
- . ':print_suppressions=0';
+ $suppressionOption = 'suppressions=' . $lsanSuppressions . ':print_suppressions=0';
+ if (array_key_exists('LSAN_OPTIONS', $environment)) {
590
+ $environment['LSAN_OPTIONS'] = $environment['LSAN_OPTIONS'] . ':' . $suppressionOption;
591
+ }
592
+ $environment['LSAN_OPTIONS'] = $suppressionOption;
593
}
594
break;
595
case '--repeat':
0 commit comments