summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-05-26 09:54:57 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-05-26 09:54:57 -0400
commit7e2ae1e7e3444aeeb2fe5f44bc5d4a2454f390d7 (patch)
tree6935a6e8dbca4f243803ad0ed0d83ff106b07413
parenta7a020dff53037746b5e042236d96b1bc2f9ef44 (diff)
downloadefl-7e2ae1e7e3444aeeb2fe5f44bc5d4a2454f390d7.tar.gz
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
-rw-r--r--meson.build4
-rw-r--r--src/tests/evas/meson.build3
2 files changed, 6 insertions, 1 deletions
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,
)