action=DictAction, dest="exe_paths")
parser.add_argument("--btormc", metavar="<path_to_executable>",
action=DictAction, dest="exe_paths")
-parser.add_argument("--cosa2", metavar="<path_to_executable>",
+parser.add_argument("--pono", metavar="<path_to_executable>",
action=DictAction, dest="exe_paths",
help="configure which executable to use for the respective tool")
parser.add_argument("--dumpcfg", action="store_true", dest="dump_cfg",
solver_cmd += " -kmin {}".format(job.opt_skip)
solver_cmd += " ".join([""] + solver_args[1:])
- elif solver_args[0] == "cosa2":
+ elif solver_args[0] == "pono":
if random_seed:
- job.error("Setting the random seed is not available for the cosa2 solver.")
- solver_cmd = job.exe_paths["cosa2"] + " -v 1 -e bmc -k {}".format(job.opt_depth - 1)
+ job.error("Setting the random seed is not available for the pono solver.")
+ solver_cmd = job.exe_paths["pono"] + " -v 1 -e bmc -k {}".format(job.opt_depth - 1)
else:
job.error("Invalid solver command {}.".format(solver_args[0]))
common_state.solver_status = "unsat"
return line
- elif solver_args[0] == "cosa2":
+ elif solver_args[0] == "pono":
if line == "unknown":
if common_state.solver_status is None:
common_state.solver_status = "unsat"
return None
def exit_callback(retcode):
- if solver_args[0] == "cosa2":
+ if solver_args[0] == "pono":
assert retcode in [1, 2]
else:
assert retcode == 0