Skip to content

Commit

Permalink
Merge pull request #244 from jix/smtbmc-cover-keepgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
jix authored Jun 26, 2023
2 parents c027aea + 28c053b commit 4d1ac01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sbysrc/sby_engine_smtbmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def run(mode, task, engine_idx, engine):
task.error("smtbmc options --basecase and --induction are exclusive.")
induction_only = True
elif o == "--keep-going":
if mode not in ("bmc", "prove", "prove_basecase", "prove_induction"):
task.error("smtbmc option --keep-going is only supported in bmc and prove mode.")
keep_going = True
elif o == "--seed":
random_seed = a
Expand Down Expand Up @@ -134,7 +132,8 @@ def run(mode, task, engine_idx, engine):

if keep_going and mode != "prove_induction":
smtbmc_opts.append("--keep-going")
trace_prefix += "%"
if mode != "cover":
trace_prefix += "%"

if dumpsmt2:
smtbmc_opts += ["--dump-smt2", trace_prefix.replace("%", "") + ".smt2"]
Expand Down

0 comments on commit 4d1ac01

Please sign in to comment.