zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7e2ae1e7e3444aeeb2fe5f44bc5d4a2454f390d7

commit 7e2ae1e7e3444aeeb2fe5f44bc5d4a2454f390d7
Author: Stefan Schmidt <[email protected]>
Date:   Tue May 26 09:54:57 2020 -0400

    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
---
 meson.build                | 4 ++++
 src/tests/evas/meson.build | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 10a48f2043..b0129681cf 100644
--- a/meson.build
+++ b/meson.build
@@ -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]
diff --git a/src/tests/evas/meson.build b/src/tests/evas/meson.build
index 37935f1e8d..fee57d91dd 100644
--- a/src/tests/evas/meson.build
+++ b/src/tests/evas/meson.build
@@ -33,5 +33,6 @@ evas_suite = executable('evas_suite',
 )
 
 test('evas-suite', evas_suite,
-  env : test_env
+  env : test_env,
+  timeout: 60,
 )

-- 


Reply via email to