diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-04-14 01:28:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 01:28:17 -0700 |
commit | a30140b1e5e270606c7e53db96d81ecbfba6d7d5 (patch) | |
tree | e5ab3aa0d4e567a7d0168256d6b35673ac2ab3d4 /test/regress/run_regression.py | |
parent | 25e77125743b97b9f36d2344a3b5598ab64223b9 (diff) |
Fix get-unsat-core detection in regression script (#1773)
Due to a typo in the regression script, the (get-unsat-core) command was
not recognized (the script was looking for (get-unsat-cores)), so it
tried to run a regression script containing (get-unsat-core) even when
CVC4 was compiled without proof support. This commit fixes the typo.
Diffstat (limited to 'test/regress/run_regression.py')
-rwxr-xr-x | test/regress/run_regression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regress/run_regression.py b/test/regress/run_regression.py index 1e3848338..3b97f6dde 100755 --- a/test/regress/run_regression.py +++ b/test/regress/run_regression.py @@ -187,7 +187,7 @@ def run_regression(proof, dump, wrapper, cvc4_binary, benchmark_path): # been set explicitly, the benchmark is invalid. sys.exit('Cannot determine status of "{}"'.format(benchmark_path)) - if not proof and ('(get-unsat-cores)' in metadata_content + if not proof and ('(get-unsat-core)' in metadata_content or '(get-unsat-assumptions)' in metadata_content): print( '1..0 # Skipped: unsat cores not supported without proof support') |