sat-minimize: check for unused options

Fixes #179.

* spot/twaalgos/dtwasat.cc: Add the check.
* tests/core/minusx.test: Test it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2016-06-22 21:15:15 +02:00
parent e419150c30
commit e80b443bc8
3 changed files with 15 additions and 4 deletions

View file

@ -28,3 +28,9 @@ ltl2tgba -F- -x ba-simul,foo,bar </dev/null 2>error && exit 1
grep -v 'ba-simul' error
grep -- "- 'foo'" error
grep -- "- 'bar'" error
# Likewise for --sat-minimise
ltl2tgba -f FGa | autfilt -D |
autfilt --sat-minimize='acc="co-Buchi",other' 2>error && exit 1
grep "autfilt: option 'other' was not used" error