ltlsynt: improve error message in case of missing --ins and --outs
* bin/ltlsynt.cc: Here. * tests/core/ltlsynt.test: Test the error.
This commit is contained in:
parent
c43712682f
commit
074678416f
2 changed files with 12 additions and 1 deletions
|
|
@ -541,4 +541,7 @@ grep "'a' appears both" stderr
|
|||
|
||||
ltlsynt --ins=a --outs=c -f 'GFa | FGb | GFc' 2>stderr && :
|
||||
test $? -eq 2
|
||||
grep "but 'b' is unlisted" stderr
|
||||
grep "both.*but 'b' is unlisted" stderr
|
||||
ltlsynt -f 'GFa | FGb | GFc' 2>stderr && :
|
||||
test $? -eq 2
|
||||
grep "one of --ins or --outs" stderr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue