From 06b510c42d23e19602c595e5172bd7363a73714d Mon Sep 17 00:00:00 2001 From: Daan Date: Fri, 19 Apr 2024 09:41:24 -0700 Subject: [PATCH] fix build pipeline for ASAN --- test/test-api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-api.c b/test/test-api.c index 6dd2bc7f..8b6378bf 100644 --- a/test/test-api.c +++ b/test/test-api.c @@ -295,11 +295,13 @@ int main(void) { // --------------------------------------------------- // various // --------------------------------------------------- + #if !defined(MI_TRACK_ASAN) // realpath may leak with ASAN enabled (as the ASAN allocator intercepts it) CHECK_BODY("realpath") { char* s = mi_realpath( ".", NULL ); // printf("realpath: %s\n",s); mi_free(s); }; + #endif CHECK("stl_allocator1", test_stl_allocator1()); CHECK("stl_allocator2", test_stl_allocator2());