projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52e71b7
)
[Regressions] Remove leading whitespace in output (#3444)
author
Andres Noetzli
<andres.noetzli@gmail.com>
Wed, 6 Nov 2019 16:40:22 +0000
(08:40 -0800)
committer
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Wed, 6 Nov 2019 16:40:22 +0000
(10:40 -0600)
test/regress/run_regression.py
patch
|
blob
|
history
diff --git
a/test/regress/run_regression.py
b/test/regress/run_regression.py
index d445264fb3875bace1cdf650001758d15a175a63..8e9261ec2eee5c40c4634c6fa2043205c7d0140f 100755
(executable)
--- a/
test/regress/run_regression.py
+++ b/
test/regress/run_regression.py
@@
-342,6
+342,8
@@
def run_regression(unsat_cores, proofs, dump, use_skip_return_code, wrapper,
output, error, exit_status = run_benchmark(
dump, wrapper, scrubber, error_scrubber, cvc4_binary,
command_line_args, benchmark_dir, benchmark_basename, timeout)
+ output = re.sub(r'^[ \t]*', '', output, flags=re.MULTILINE)
+ error = re.sub(r'^[ \t]*', '', error, flags=re.MULTILINE)
if output != expected_output:
exit_code = EXIT_FAILURE
print(