(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.
# 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