From 2bbbb130d81a3d696e2e171edd552161ddb88fc8 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 15 Mar 2022 20:07:25 -0700 Subject: [PATCH] run_regression: Make sure to strip trailing whitespaces from error output. (#8319) Should finally fix arm64 (qemu) nightly failures. --- test/regress/run_regression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/regress/run_regression.py b/test/regress/run_regression.py index 01f118d8a..227ff2ef1 100755 --- a/test/regress/run_regression.py +++ b/test/regress/run_regression.py @@ -471,7 +471,7 @@ def run_benchmark(benchmark_info): output = re.sub(r"^[ \t]*", "", output.strip(), flags=re.MULTILINE) error = re.sub(r"^[ \t]*", "", error.strip(), flags=re.MULTILINE) # qemu (used for arm nightlies) emits additional error output for non-zero exit codes - error = re.sub(r"qemu: uncaught target signal.*", "", error.strip()) + error = re.sub(r"qemu: uncaught target signal.*", "", error).strip() return (output, error, exit_status) -- 2.30.2