summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-03-09 10:54:31 -0800
committerAina Niemetz <aina.niemetz@gmail.com>2018-03-09 10:54:31 -0800
commit6330388f2606e82c4348de9ba6c62c4de7861cd9 (patch)
tree8d0f91d5cec4605ba9a1e3a4e36f4cde26829ed5 /test
parent4c64f2388a5dca50ecbd0610f9dcb13324345b94 (diff)
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/regress/run_regression2
1 files changed, 1 insertions, 1 deletions
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback