From: Andres Noetzli Date: Fri, 9 Mar 2018 18:54:31 +0000 (-0800) Subject: Skip (get-unsat-assumptions) tests not supported (#1656) X-Git-Tag: cvc5-1.0.0~5242 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6330388f2606e82c4348de9ba6c62c4de7861cd9;p=cvc5.git Skip (get-unsat-assumptions) tests not supported (#1656) (get-unsat-assumptions) requires the proof infrastructure,so we can't run the regression tests if CVC4 has not been configured for it. This commit changes the regression script to skip tests containing (get-unsat-assumptions) when CVC4 has not been compiled with proof support. --- diff --git a/test/regress/run_regression b/test/regress/run_regression index e236234e1..6b2447d8e 100755 --- a/test/regress/run_regression +++ b/test/regress/run_regression @@ -134,7 +134,7 @@ elif expr "$benchmark" : '.*\.smt2$' &>/dev/null; then # If this test case requires unsat cores but CVC4 is not built with proof # support, skip it. Note: checking $CVC4_REGRESSION_ARGS instead of $proof # here because $proof is not set for the second run. - requires_proof=`grep '(get-unsat-core)' "$benchmark"` + requires_proof=`grep '(get-unsat-core)\|(get-unsat-assumptions)' "$benchmark"` if [[ ! "$CVC4_REGRESSION_ARGS" = *"--proof"* ]] && [ -n "$requires_proof" ]; then exit 77 fi