summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-05-22 22:20:59 -0700
committerGitHub <noreply@github.com>2018-05-22 22:20:59 -0700
commit4576b47b4acbae79c0ea76ebdc103f4c3155c4ab (patch)
tree88e3803fe39d995aa0e3306efa3d3ec97707b7e3 /test/regress
parent2ac3d0bf2c00edbbd04033815f10ba0207010f77 (diff)
Set same options for proofs as for unsat cores (#1957)
In SmtEngine::setDefaults() we were setting options such as --simplifciation=none for unsat cores but not proofs. Producing unsat cores relies on the same infrastructure as proofs and should be a subset of the same work in most cases. Thus, this commit changes SmtEngine::setDefaults() to set the same options for proofs as we previously only did for unsat cores. Additionally, it changes the function to only set the simplificationMode to SIMPLIFICATION_MODE_BATCH if proofs and unsat cores are not enabled. Fixes issue #1953.
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress0/arith/bug569.smt22
-rw-r--r--test/regress/regress0/quantifiers/lra-triv-gn.smt24
2 files changed, 3 insertions, 3 deletions
diff --git a/test/regress/regress0/arith/bug569.smt2 b/test/regress/regress0/arith/bug569.smt2
index e1ca49ac5..1a63f265b 100644
--- a/test/regress/regress0/arith/bug569.smt2
+++ b/test/regress/regress0/arith/bug569.smt2
@@ -1,4 +1,4 @@
-; COMMAND-LINE: --no-check-unsat-cores
+; COMMAND-LINE: --no-check-unsat-cores --no-check-proofs
; EXPECT: unsat
(set-logic QF_AUFLIRA)
(set-info :smt-lib-version 2.0)
diff --git a/test/regress/regress0/quantifiers/lra-triv-gn.smt2 b/test/regress/regress0/quantifiers/lra-triv-gn.smt2
index ccd31c463..1598f7097 100644
--- a/test/regress/regress0/quantifiers/lra-triv-gn.smt2
+++ b/test/regress/regress0/quantifiers/lra-triv-gn.smt2
@@ -1,7 +1,7 @@
-; COMMAND-LINE: --global-negate --no-check-unsat-cores
+; COMMAND-LINE: --global-negate --no-check-unsat-cores --no-check-proofs
; EXPECT: unsat
(set-logic LRA)
(set-info :status unsat)
(assert (not (exists ((?X Real)) (>= (/ (- 13) 4) ?X))))
(check-sat)
-(exit) \ No newline at end of file
+(exit)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback