forked from enlightenment/efl
build: disable leak detection in address sanitizer build for tests as well
Summary: The same principle we use for the build stage we use here for running our tests. Leak detection has just to many problems for us on the shutdown path that it makes no sense to use here. I am also bumping the evas timeout form the default 30s to 60 as I have been running into timeouts with asan enabled on my machine. This would not change anything on a default build. Depends on D11137 Reviewers: smohanty, bu5hm4n, raster, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11862
This commit is contained in:
parent
a7a020dff5
commit
7e2ae1e7e3
|
@ -13,6 +13,10 @@ pkgconfig = import('pkgconfig')
|
|||
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')
|
||||
endif
|
||||
|
||||
version_arr = meson.project_version().split('.')
|
||||
|
||||
version_major = version_arr[0]
|
||||
|
|
|
@ -33,5 +33,6 @@ evas_suite = executable('evas_suite',
|
|||
)
|
||||
|
||||
test('evas-suite', evas_suite,
|
||||
env : test_env
|
||||
env : test_env,
|
||||
timeout: 60,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue