From 6330388f2606e82c4348de9ba6c62c4de7861cd9 Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Fri, 9 Mar 2018 10:54:31 -0800 Subject: [PATCH] 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. --- test/regress/run_regression | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2