projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc2269
)
Allow metadata lines in test files to have leading spaces (#1799)
author
yoni206
<yoni206@users.noreply.github.com>
Fri, 20 Apr 2018 17:26:50 +0000
(10:26 -0700)
committer
Andres Noetzli
<andres.noetzli@gmail.com>
Fri, 20 Apr 2018 17:26:50 +0000
(10:26 -0700)
Currently, lines like `;EXPECT: sat` instead of `; EXPECT: sat` cause problems. This PR fixes it.
test/regress/run_regression.py
patch
|
blob
|
history
diff --git
a/test/regress/run_regression.py
b/test/regress/run_regression.py
index 260ab3284add53a28e371e90719436b4d7a966f2..db72854eb5d90c1fa70b3a73b874165e45b3c745 100755
(executable)
--- a/
test/regress/run_regression.py
+++ b/
test/regress/run_regression.py
@@
-168,10
+168,10
@@
def run_regression(proof, dump, wrapper, cvc4_binary, benchmark_path, timeout):
expected_exit_status = None
command_line = ''
for line in metadata_lines:
- # Skip lines that do not start with
"%"
+ # Skip lines that do not start with
a comment character.
if line[0] != comment_char:
continue
- line = line[
2:]
+ line = line[
1:].lstrip()
if line.startswith(SCRUBBER):
scrubber = line[len(SCRUBBER):]