From 3fcbcca8e489dc061806265bf2839f64f6300393 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Mon, 23 Sep 2024 21:14:26 +0800 Subject: [PATCH] lldb: fix log output when exit --- _lldb/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_lldb/test.py b/_lldb/test.py index 5eca33d0..1739e318 100644 --- a/_lldb/test.py +++ b/_lldb/test.py @@ -252,7 +252,7 @@ def run_tests(executable_path: str, source_files: List[str], verbose: bool, inte print_test_results(results) if results.total != results.passed: - os._exit(1) + sys.exit(1) def execute_test_case(debugger: LLDBDebugger, test_case: TestCase, all_variable_names: Set[str]) -> CaseResult: