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: