Ignore asan memory leaks when running the tests ##ci

This commit is contained in:
pancake 2022-04-05 12:25:31 +02:00
parent ca8d8b39f3
commit 7c495b7e56

View File

@ -334,6 +334,7 @@ int main(int argc, char **argv) {
} }
atexit (r2r_subprocess_fini); atexit (r2r_subprocess_fini);
r_sys_setenv ("ASAN_OPTIONS", "detect_leaks=false");
r_sys_setenv ("RABIN2_TRYLIB", "0"); r_sys_setenv ("RABIN2_TRYLIB", "0");
r_sys_setenv ("R2_DEBUG_ASSERT", "1"); r_sys_setenv ("R2_DEBUG_ASSERT", "1");
r_sys_setenv ("R2_DEBUG_EPRINT", "0"); r_sys_setenv ("R2_DEBUG_EPRINT", "0");