Skip to content

Commit

Permalink
TEST util: fix LSAN options
Browse files Browse the repository at this point in the history
  • Loading branch information
ericonr committed Jan 13, 2025
1 parent 0bd2628 commit a764bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ catch2 = dependency('catch2-with-main', fallback: 'catch2')

header_dir = 'uhal'

test_env = ['LSAN_OPTIONS=use_tls=0']

subdir('include')
subdir('util')
subdir('templates')
Expand Down
2 changes: 1 addition & 1 deletion util/tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ tests = [
]
foreach test_name : tests
exe = executable(test_name, test_name + '.cc', dependencies: [utilities, catch2])
test(test_name, exe)
test(test_name, exe, env: test_env)
endforeach

0 comments on commit a764bad

Please sign in to comment.