modelcheck: fix incorrect return value without --csv
* tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
parent
099387d831
commit
d3eb269078
1 changed files with 21 additions and 19 deletions
|
|
@ -534,8 +534,6 @@ static int checked_main()
|
|||
<< mc_options.algorithm << '\n';
|
||||
|
||||
|
||||
if (mc_options.csv)
|
||||
{
|
||||
std::cout << "\nSummary :\n";
|
||||
auto rval = result.value[0];
|
||||
std::for_each(result.value.rbegin(), result.value.rend(),
|
||||
|
|
@ -552,9 +550,13 @@ static int checked_main()
|
|||
exit_code = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout << "an accepting run exists\n" << result.trace << '\n';
|
||||
exit_code = 1;
|
||||
}
|
||||
|
||||
|
||||
if (mc_options.csv)
|
||||
{
|
||||
// Grab The informations to display into the CSV
|
||||
unsigned c_states = 0;
|
||||
unsigned c_trans = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue