build: ensure we set all needed asan option for check run as well
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 28 May 2020 09:42:59 +0000 (11:42 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 31 May 2020 21:34:44 +0000 (06:34 +0900)
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

meson.build

index 97c0ef4..bcd87d0 100644 (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('.')