Skip to content

Commit

Permalink
Fail silently solvers by default (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelchassot authored Dec 4, 2024
1 parent 30c142c commit 854bcdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/it/scala/inox/tip/TipTestSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import scala.language.existentials
class TipTestSuite extends TestSuite with ResourceUtils {

override def configurations = Seq(
Seq(optSelectedSolvers(Set("nativez3")), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-z3")), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-cvc4")), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-z3")), optCheckModels(true), optAssumeChecked(true)),
Seq(optSelectedSolvers(Set("no-inc:smt-z3")), optCheckModels(true))
Seq(optSelectedSolvers(Set("nativez3")), optSilentErrors(false), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-z3")), optSilentErrors(false), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-cvc4")), optSilentErrors(false), optCheckModels(true)),
Seq(optSelectedSolvers(Set("smt-z3")), optSilentErrors(false), optCheckModels(true), optAssumeChecked(true)),
Seq(optSelectedSolvers(Set("no-inc:smt-z3")), optSilentErrors(false), optCheckModels(true))
)

override protected def optionsString(options: Options): String = {
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/inox/solvers/Solver.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import utils._

object optCheckModels extends FlagOptionDef("check-models", false)
object optIgnoreModels extends FlagOptionDef("ignore-models", false)
object optSilentErrors extends FlagOptionDef("silent-errors", false)
object optSilentErrors extends FlagOptionDef("silent-errors", true)

case object DebugSectionSolver extends DebugSection("solver")

Expand Down

0 comments on commit 854bcdf

Please sign in to comment.