parseaut: allow the univ-branch diagnostics to be ignored

* spot/parseaut/parseaut.yy: Check the SPOT_HOA_TOLERANT variable.
* tests/core/ltl3ba.test, tests/core/parseaut.test: Adjust test cases.
* NEWS, bin/man/spot-x.x: Mention SPOT_HOA_TOLERANT.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-01 18:03:06 +02:00
parent d3607a7ce3
commit eb8df6d72c
5 changed files with 33 additions and 5 deletions

View file

@ -29,7 +29,11 @@ set -e
(ltl3ba -v) || exit 77
# The -H1 option will output alternating automata, so this tests
# ltlcross's support in this area.
# ltlcross's support in this area. However ltl3ba 1.1.3 incorrectly
# output "univ-branch" for all automata produced by -H1, causing
# error messages from Spot's parser unless SPOT_HOA_TOLERANT is set.
SPOT_HOA_TOLERANT=1
export SPOT_HOA_TOLERANT
# Using '_x' as first formula makes sure that ltlcross automatically
# relabels the input formula when the atomic propositions are not
# compatible with Spin's syntax.

View file

@ -783,12 +783,16 @@ input:62.1-64.6: automaton has existential branching...
input:57.13-25: ... despite 'properties: !exist-branch'
input:58.9-64.6: automaton is has no universal branching...
input:57.27-37: ... despite 'properties: univ-branch'
note: If this is an issue you cannot fix, you may disable this diagnostic
by defining the SPOT_HOA_TOLERANT environment variable.
input:68.1-10: conjunct initial state despite...
input:71.26-37: ... property: !univ-branch
input:91.6-8: universal branch used despite previous declaration...
input:85.26-37: ... here
input:86.9-91.8: automaton has no existential branching...
input:85.13-24: ... despite 'properties: exist-branch'
note: If this is an issue you cannot fix, you may disable this diagnostic
by defining the SPOT_HOA_TOLERANT environment variable.
input:106.6-9: we can read HOA v1 but this file uses v1.1; $t
input:108.1-10: conjunct initial state despite...
input:111.13-25: ... property: deterministic