Skip to content

Commit 01bec43

Browse files
committed
MDEV-39831 mtr: extend LSAN_OPTIONS rather than overwrite
Its useful to add own LSAN_OPTIONS like report_objects=1 so lets make sure MTR doesn't overwrite this.
1 parent a295522 commit 01bec43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mysql-test/mariadb-test-run.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,7 @@ sub command_line_setup {
16451645

16461646
# Add leak suppressions
16471647
$ENV{LSAN_OPTIONS}= "suppressions=${glob_mysql_test_dir}/lsan.supp:print_suppressions=0"
1648+
. ($ENV{LSAN_OPTIONS} ? ":$ENV{LSAN_OPTIONS}" : "")
16481649
if -f "$glob_mysql_test_dir/lsan.supp" and not IS_WINDOWS;
16491650

16501651
mtr_verbose("ASAN_OPTIONS=$ENV{ASAN_OPTIONS}");

0 commit comments

Comments
 (0)