From 288fa0128bff51ab38815a29266ff60771b14e82 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Mar 2024 15:01:55 +0530 Subject: [PATCH] Fix test suite running under sanitizers --- kitty_tests/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty_tests/main.py b/kitty_tests/main.py index 62265e734..36ef07906 100644 --- a/kitty_tests/main.py +++ b/kitty_tests/main.py @@ -265,6 +265,7 @@ def run_tests(report_env: bool = False) -> None: if args.name and args.name[0] in ('type-check', 'type_check', 'mypy'): type_check() go_pkgs = reduce_go_pkgs(args.module, args.name) + os.environ['ASAN_OPTIONS'] = 'detect_leaks=0' # ensure subprocesses dont fail because of leak detection if go_pkgs: go_proc: 'Optional[GoProc]' = run_go(go_pkgs, args.name) else: