From 7c495b7e56911ae072c55b2826cf5451d926ce66 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 5 Apr 2022 12:25:31 +0200 Subject: [PATCH] Ignore asan memory leaks when running the tests ##ci --- binr/r2r/r2r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/binr/r2r/r2r.c b/binr/r2r/r2r.c index 1c68772d53..c9c708a56a 100644 --- a/binr/r2r/r2r.c +++ b/binr/r2r/r2r.c @@ -334,6 +334,7 @@ int main(int argc, char **argv) { } atexit (r2r_subprocess_fini); + r_sys_setenv ("ASAN_OPTIONS", "detect_leaks=false"); r_sys_setenv ("RABIN2_TRYLIB", "0"); r_sys_setenv ("R2_DEBUG_ASSERT", "1"); r_sys_setenv ("R2_DEBUG_EPRINT", "0");