summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2021-03-23 19:27:39 -0300
committerGitHub <noreply@github.com>2021-03-23 19:27:39 -0300
commitd8104e0d48a845be7653d1a541c52dea21321aed (patch)
treee2ae24c92d7959bb3d877372e562a5701a113db6 /test/regress
parentd5d526730d11d08c65aa17ea53d0dffb0a72e692 (diff)
Removing unused build options and deprecated proof compile flag (#6195)
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress0/arrays/issue3814.smt21
-rw-r--r--test/regress/regress0/bv/ackermann2.smt21
-rw-r--r--test/regress/regress0/bv/bv_to_int_5230_binary.smt21
-rw-r--r--test/regress/regress0/bv/bv_to_int_5230_missing_op.smt21
-rw-r--r--test/regress/regress0/bv/bv_to_int_5230_shift_const.smt23
-rw-r--r--test/regress/regress0/bv/core/slice-12.smtv1.smt21
-rw-r--r--test/regress/regress0/dump-unsat-core-full.smt21
-rw-r--r--test/regress/regress0/nl/issue3959.smt21
-rw-r--r--test/regress/regress1/quantifiers/dump-inst-proof.smt21
-rw-r--r--test/regress/regress1/sygus-abduct-test-ccore.smt21
-rw-r--r--test/regress/regress1/sygus-abduct-test-user.smt21
-rw-r--r--test/regress/regress1/sygus/abd-simple-conj-4.smt21
-rw-r--r--test/regress/regress1/sygus/abduction_1255.corecstrs.readable.smt21
-rw-r--r--test/regress/regress1/sygus/abduction_streq.readable.smt21
-rw-r--r--test/regress/regress1/sygus/array_search_2.sy1
-rwxr-xr-xtest/regress/run_regression.py11
16 files changed, 1 insertions, 27 deletions
diff --git a/test/regress/regress0/arrays/issue3814.smt2 b/test/regress/regress0/arrays/issue3814.smt2
index 6c557d99d..6e4a41338 100644
--- a/test/regress/regress0/arrays/issue3814.smt2
+++ b/test/regress/regress0/arrays/issue3814.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-unsat-cores
; EXPECT: sat
(set-logic QF_AX)
diff --git a/test/regress/regress0/bv/ackermann2.smt2 b/test/regress/regress0/bv/ackermann2.smt2
index 80b8126a0..9bba5f141 100644
--- a/test/regress/regress0/bv/ackermann2.smt2
+++ b/test/regress/regress0/bv/ackermann2.smt2
@@ -1,6 +1,5 @@
; COMMAND-LINE: --bitblast=eager --no-check-models --no-check-unsat-cores
; REQUIRES: cryptominisat
-; REQUIRES: drat2er
; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --no-check-unsat-cores
; EXPECT: unsat
(set-logic QF_UFBV)
diff --git a/test/regress/regress0/bv/bv_to_int_5230_binary.smt2 b/test/regress/regress0/bv/bv_to_int_5230_binary.smt2
index 32680d862..406041937 100644
--- a/test/regress/regress0/bv/bv_to_int_5230_binary.smt2
+++ b/test/regress/regress0/bv/bv_to_int_5230_binary.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; EXPECT: sat
(set-logic QF_UFBV)
(set-option :produce-unsat-cores true)
diff --git a/test/regress/regress0/bv/bv_to_int_5230_missing_op.smt2 b/test/regress/regress0/bv/bv_to_int_5230_missing_op.smt2
index 757b00e5f..497fbaab1 100644
--- a/test/regress/regress0/bv/bv_to_int_5230_missing_op.smt2
+++ b/test/regress/regress0/bv/bv_to_int_5230_missing_op.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; EXPECT: sat
(set-logic ABV)
(set-option :check-unsat-cores true)
diff --git a/test/regress/regress0/bv/bv_to_int_5230_shift_const.smt2 b/test/regress/regress0/bv/bv_to_int_5230_shift_const.smt2
index e94e0cae5..a8d0144f1 100644
--- a/test/regress/regress0/bv/bv_to_int_5230_shift_const.smt2
+++ b/test/regress/regress0/bv/bv_to_int_5230_shift_const.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; EXPECT: sat
(set-logic QF_UFBV)
(set-option :check-unsat-cores true)
@@ -7,6 +6,6 @@
(declare-const v5 Bool)
(declare-const v8 Bool)
(declare-const v9 Bool)
-(assert (or (distinct ((_ sign_extend 0) #b1001110) (bvlshr #b1001110 #b1001110) ((_ sign_extend 0) #b1001110) #b1001110) v9 (= #b1001110 ((_ sign_extend 0) #b1001110) #b1001110 #b1001110 ((_ sign_extend 0) #b1001110)) v5 (distinct ((_ sign_extend 0) #b1001110) (bvlshr #b1001110 #b1001110) ((_ sign_extend 0) #b1001110) #b1001110)))
+(assert (or (distinct ((_ sign_extend 0) #b1001110) (bvlshr #b1001110 #b1001110) ((_ sign_extend 0) #b1001110) #b1001110) v9 (= #b1001110 ((_ sign_extend 0) #b1001110) #b1001110 #b1001110 ((_ sign_extend 0) #b1001110)) v5 (distinct ((_ sign_extend 0) #b1001110) (bvlshr #b1001110 #b1001110) ((_ sign_extend 0) #b1001110) #b1001110)))
(assert (or v0 v8))
(check-sat)
diff --git a/test/regress/regress0/bv/core/slice-12.smtv1.smt2 b/test/regress/regress0/bv/core/slice-12.smtv1.smt2
index d66b27caa..f370c0f0f 100644
--- a/test/regress/regress0/bv/core/slice-12.smtv1.smt2
+++ b/test/regress/regress0/bv/core/slice-12.smtv1.smt2
@@ -1,5 +1,4 @@
; REQUIRES: cryptominisat
-; REQUIRES: drat2er
; COMMAND-LINE: --bitblast=eager --bv-sat-solver=cryptominisat --no-check-unsat-cores
; EXPECT: unsat
(set-option :incremental false)
diff --git a/test/regress/regress0/dump-unsat-core-full.smt2 b/test/regress/regress0/dump-unsat-core-full.smt2
index 3c68501f9..a21508efb 100644
--- a/test/regress/regress0/dump-unsat-core-full.smt2
+++ b/test/regress/regress0/dump-unsat-core-full.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --dump-unsat-cores-full
; EXPECT: unsat
; EXPECT: (
diff --git a/test/regress/regress0/nl/issue3959.smt2 b/test/regress/regress0/nl/issue3959.smt2
index cce64a848..eccd6b301 100644
--- a/test/regress/regress0/nl/issue3959.smt2
+++ b/test/regress/regress0/nl/issue3959.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-unsat-cores --incremental
; EXPECT: sat
diff --git a/test/regress/regress1/quantifiers/dump-inst-proof.smt2 b/test/regress/regress1/quantifiers/dump-inst-proof.smt2
index 274fc213f..0c8c21f01 100644
--- a/test/regress/regress1/quantifiers/dump-inst-proof.smt2
+++ b/test/regress/regress1/quantifiers/dump-inst-proof.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --dump-instantiations --produce-unsat-cores --print-inst-full
; EXPECT: unsat
; EXPECT: (instantiations (forall ((x Int)) (or (P x) (Q x)))
diff --git a/test/regress/regress1/sygus-abduct-test-ccore.smt2 b/test/regress/regress1/sygus-abduct-test-ccore.smt2
index adb38add0..86f5fe133 100644
--- a/test/regress/regress1/sygus-abduct-test-ccore.smt2
+++ b/test/regress/regress1/sygus-abduct-test-ccore.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-abducts --sygus-core-connective
; SCRUBBER: grep -v -E '(\(define-fun)'
; EXIT: 0
diff --git a/test/regress/regress1/sygus-abduct-test-user.smt2 b/test/regress/regress1/sygus-abduct-test-user.smt2
index ed1d5c862..bb02ebce2 100644
--- a/test/regress/regress1/sygus-abduct-test-user.smt2
+++ b/test/regress/regress1/sygus-abduct-test-user.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-abducts
; COMMAND-LINE: --produce-abducts --sygus-core-connective
; SCRUBBER: grep -v -E '(\(define-fun)'
diff --git a/test/regress/regress1/sygus/abd-simple-conj-4.smt2 b/test/regress/regress1/sygus/abd-simple-conj-4.smt2
index dda5e9751..98bf70fd7 100644
--- a/test/regress/regress1/sygus/abd-simple-conj-4.smt2
+++ b/test/regress/regress1/sygus/abd-simple-conj-4.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-abducts --sygus-core-connective
; SCRUBBER: grep -v -E '(\(define-fun)'
; EXIT: 0
diff --git a/test/regress/regress1/sygus/abduction_1255.corecstrs.readable.smt2 b/test/regress/regress1/sygus/abduction_1255.corecstrs.readable.smt2
index 691cf6d9a..1595b0865 100644
--- a/test/regress/regress1/sygus/abduction_1255.corecstrs.readable.smt2
+++ b/test/regress/regress1/sygus/abduction_1255.corecstrs.readable.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-abducts --sygus-core-connective
; SCRUBBER: grep -v -E '(\(define-fun)'
; EXIT: 0
diff --git a/test/regress/regress1/sygus/abduction_streq.readable.smt2 b/test/regress/regress1/sygus/abduction_streq.readable.smt2
index b6a422035..b466ab33e 100644
--- a/test/regress/regress1/sygus/abduction_streq.readable.smt2
+++ b/test/regress/regress1/sygus/abduction_streq.readable.smt2
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; COMMAND-LINE: --produce-abducts --sygus-core-connective
; SCRUBBER: grep -v -E '(\(define-fun)'
; EXIT: 0
diff --git a/test/regress/regress1/sygus/array_search_2.sy b/test/regress/regress1/sygus/array_search_2.sy
index c2404a12c..9009c8260 100644
--- a/test/regress/regress1/sygus/array_search_2.sy
+++ b/test/regress/regress1/sygus/array_search_2.sy
@@ -1,4 +1,3 @@
-; REQUIRES: proof
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status
(set-logic LIA)
diff --git a/test/regress/run_regression.py b/test/regress/run_regression.py
index fb4786331..01924559a 100755
--- a/test/regress/run_regression.py
+++ b/test/regress/run_regression.py
@@ -10,12 +10,6 @@
## directory for licensing information.
##
"""
-Usage:
-
- run_regression.py [--enable-proof] [--with-lfsc] [--dump]
- [--use-skip-return-code] [wrapper] cvc4-binary
- [benchmark.cvc | benchmark.smt | benchmark.smt2 | benchmark.p]
-
Runs benchmark and checks for correct exit status and output.
"""
@@ -193,11 +187,6 @@ def run_regression(check_unsat_cores, check_proofs, dump, use_skip_return_code,
cvc4_features, cvc4_disabled_features = get_cvc4_features(cvc4_binary)
- # Disable proof and unsat core checks if CVC4 was not compiled with proofs.
- if 'proof' not in cvc4_features:
- check_unsat_cores = False
- check_proofs = False
-
basic_command_line_args = []
benchmark_basename = os.path.basename(benchmark_path)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback