From: Andres Noetzli Date: Sat, 14 Apr 2018 08:28:17 +0000 (-0700) Subject: Fix get-unsat-core detection in regression script (#1773) X-Git-Tag: cvc5-1.0.0~5152 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a30140b1e5e270606c7e53db96d81ecbfba6d7d5;p=cvc5.git 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. --- 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')