From 03bfe9018ef0fd28febff71835ca2ecb27aa228a Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Tue, 8 Feb 2022 10:16:30 -0800 Subject: [PATCH] Replace print with exit (#1065) --- bazel/testing/lit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/testing/lit_test.py b/bazel/testing/lit_test.py index 22564200c42f..7d727c754208 100644 --- a/bazel/testing/lit_test.py +++ b/bazel/testing/lit_test.py @@ -47,7 +47,7 @@ def main(): subprocess.check_call(args=args + parsed_args.lit_args, env=env) except subprocess.CalledProcessError as e: # Print without the stack trace. - print(e) + exit(e) if __name__ == "__main__":