ltlsynt: fix usage for --dot's argument

* bin/ltlsynt.cc (dispatch_print_hoa): Pass the right argument to
print_dot.
* tests/core/ltlsynt.test: Test it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2024-09-02 17:26:42 +02:00
parent 514209e80f
commit 1a36ea6ce4
3 changed files with 8 additions and 2 deletions

View file

@ -1085,7 +1085,11 @@ diff outx exp
# Test --dot and --hide-status
ltlsynt -f 'i <-> Fo' --ins=i --aiger --dot | grep arrowhead=dot
ltlsynt -f 'i <-> Fo' --ins=i --print-game-hoa --dot | grep 'shape="diamond"'
ltlsynt -f 'i <-> Fo' --ins=i --print-game-hoa --dot > out
grep 'shape="diamond"' out
grep 'Inf(0)' out
ltlsynt -f 'i <-> Fo' --ins=i --print-game-hoa --dot=bar > out
grep 'label=<Inf(<font' out
ltlsynt -f 'i <-> Fo' --ins=i --dot --hide-status > res
cat >exp <<EOF
digraph "" {