Skip to content

Commit

Permalink
test: temporarily disable test-polkitbackendjsauthority under ASan
Browse files Browse the repository at this point in the history
The test, in its current form, is incompatible with ASan, since it
overwrites $LD_PRELOAD and thus preventing ASan to work properly. This
can be worked around using `verify_asan_link_order=0`, but this only
shifts the problem down the road, as with that ASan is able to run but
produces false positive reports since it can't properly incercept calls
made to libduktape.
  • Loading branch information
mrc0mmand committed Jan 3, 2024
1 parent b4d7ccc commit fb7f960
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions test/polkitbackend/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ exe = executable(

prog = find_program('polkitbackendjsauthoritytest-wrapper.py')

test(
test_unit,
prog,
env: test_env,
is_parallel: false,
timeout: 90,
)
if not get_option('b_sanitize').split(',').contains('address')
test(
test_unit,
prog,
env: test_env,
is_parallel: false,
timeout: 90,
)
else
warning('@0@ is not (yet) compatible with AddressSanitizer, skipping'.format(test_unit))
endif

0 comments on commit fb7f960

Please sign in to comment.