The neverclaim output by spin -f '([]a && XXXX!a)' was not
understood by Spot. * src/neverparse/neverclaimparse.yy: Support "if :: false fi;" instructions. Spin sometimes output these on dead states. Also rewrite the "transitions" rule as a left recursion. * src/tgbatest/neverclaimread.test: Adjust output because of the right->left recursion change, and add two more formula to submit to Spin to test its output.
This commit is contained in:
parent
6cb5df0bd7
commit
df2a950ed4
3 changed files with 75 additions and 32 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) 2010 Laboratoire de Recherche et Développement
|
||||
# Copyright (C) 2010, 2011 Laboratoire de Recherche et Développement
|
||||
# de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -48,11 +48,11 @@ digraph G {
|
|||
0 [label="", style=invis, height=0]
|
||||
0 -> 1
|
||||
1 [label="T2_init"]
|
||||
1 -> 2 [label="p0 & p1\n"]
|
||||
1 -> 1 [label="1\n"]
|
||||
1 -> 2 [label="p0 & p1\n"]
|
||||
2 [label="T1"]
|
||||
2 -> 2 [label="p1\n"]
|
||||
2 -> 3 [label="p1 & !p0\n"]
|
||||
2 -> 2 [label="p1\n"]
|
||||
3 [label="accept_all"]
|
||||
3 -> 3 [label="1\n{Acc[1]}"]
|
||||
}
|
||||
|
|
@ -101,6 +101,8 @@ a
|
|||
X false
|
||||
([] a) U X b
|
||||
(a U b) U (c U d)
|
||||
true
|
||||
([]a && XXXX!a)
|
||||
EOF
|
||||
while read f
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue