build: ensure we set all needed asan option for check run as well

Normally we would set the needed detect_odr_violation=0 form our CI
scripts. Move it here to ensure we have it set and it does not get
forgotten when meson overrides the env far.

Fixes the ASAN job on CI.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11902
This commit is contained in:
Stefan Schmidt 2020-05-28 11:42:59 +02:00
parent 23e8715070
commit b20a691d1b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ test_env = environment()
test_env.set('EFL_RUN_IN_TREE', '1')
if get_option('b_sanitize') == 'address'
test_env.set('ASAN_OPTIONS', 'detect_leaks=0')
test_env.set('ASAN_OPTIONS', 'detect_leaks=0:detect_odr_violation=0')
endif
version_arr = meson.project_version().split('.')