ltlsynt: support multiple --tlsf options
* bin/common_finput.cc, bin/common_finput.hh: Add support for process_tlsf_file. * bin/ltlsynt.cc: Implement it. * tests/core/syfco.test: Adjust test case.
This commit is contained in:
parent
df685433f4
commit
04d718ab9c
4 changed files with 63 additions and 40 deletions
|
|
@ -308,6 +308,12 @@ job_processor::process_aut_file(const char*)
|
|||
throw std::runtime_error("process_aut_file not defined for this tool");
|
||||
}
|
||||
|
||||
int
|
||||
job_processor::process_tlsf_file(const char*)
|
||||
{
|
||||
throw std::runtime_error("process_tlsf_file not defined for this tool");
|
||||
}
|
||||
|
||||
int
|
||||
job_processor::process_ltl_file(const char* filename)
|
||||
{
|
||||
|
|
@ -377,6 +383,9 @@ job_processor::run()
|
|||
case job_type::AUT_FILENAME:
|
||||
error |= process_aut_file(j.str);
|
||||
break;
|
||||
case job_type::TLSF_FILENAME:
|
||||
error |= process_tlsf_file(j.str);
|
||||
break;
|
||||
default:
|
||||
throw std::runtime_error("unexpected job type");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue