postproc: make sure WDBA have an acceptance set if BA is desired

* src/tgbaalgos/postproc.cc: Here.
* src/tgbatest/ltl2tgba.test: Make sure ltl2tgba -B 0 has one
acceptance set.
This commit is contained in:
Alexandre Duret-Lutz 2015-02-25 23:38:24 +01:00
parent f0b1b9438f
commit 095ac93b5b
2 changed files with 28 additions and 5 deletions

View file

@ -97,6 +97,9 @@ EOF
run 0 ../checkpsl check.txt
# Make sure False has one acceptance set when generating Büchi automata
test 1 -eq `../../bin/ltl2tgba -B false --stats %a`
# In particular, Spot 0.9 would incorrectly reject the sequence:
# (a̅b;a̅b;a̅b̅);(a̅b;a̅b;a̅b̅);(a̅b;a̅b;a̅b̅);... in 'G!{(b;1)*;a}'
# This means the following automaton was incorrectly empty in Spot 0.9.