exit_status = None
if dump:
dump_args = [
- '--preprocess-only', '--dump', 'raw-benchmark',
- '--output-lang=smt2', '-qq'
+ '--parse-only', '-o', 'raw-benchmark', '--output-lang=smt2'
]
dump_output, _, _ = run_process(
bin_args + command_line + dump_args + [benchmark_filename],
elif benchmark_ext == '.smt2':
status_regex = r'set-info\s*:status\s*(sat|unsat)'
comment_char = ';'
- elif benchmark_ext == '.cvc':
- pass
elif benchmark_ext == '.p':
status_regex = r'% Status\s*:\s*(Theorem|Unsatisfiable|CounterSatisfiable|Satisfiable)'
status_to_output = lambda s: '% SZS status {} for {}'.format(
check_unsat_cores = False
check_proofs = False
else:
- sys.exit('"{}" must be *.cvc or *.smt or *.smt2 or *.p or *.sy'.format(
+ sys.exit('"{}" must be *.smt2 or *.p or *.sy'.format(
benchmark_basename))
benchmark_lines = None
'--check-synth-sol' not in all_args:
all_args += ['--check-synth-sol']
if ('sat' in expected_output_lines or \
- 'not_entailed' in expected_output_lines or \
'unknown' in expected_output_lines) and \
'--no-debug-check-models' not in all_args and \
'--no-check-models' not in all_args and \
'--debug-check-models' not in all_args:
extra_command_line_args += ['--debug-check-models']
- if 'unsat' in expected_output_lines or 'entailed' in expected_output_lines:
+ if 'unsat' in expected_output_lines in expected_output_lines:
if check_unsat_cores and \
'--no-produce-unsat-cores' not in all_args and \
'--no-check-unsat-cores' not in all_args and \