Skip to content

Commit 83bded0

Browse files
committed
KNOWNBUG test for trace of SMV model with module instances
1 parent 371bb9a commit 83bded0

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

regression/smv/modules/trace1.desc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
KNOWNBUG
2+
trace1.smv
3+
4+
^\[.*\] AG \!a\.c\.d: REFUTED$
5+
^Counterexample with 2 states:$
6+
^b\.d@0 = FALSE$
7+
^a\.c\.d@0 = FALSE$
8+
^a\.c\.d@1 = TRUE$
9+
^EXIT=10$
10+
^SIGNAL=0$
11+
--
12+
^warning: ignoring
13+
^a@0 = .*$
14+
^b@0 = .*$
15+
^a.c@0 = .*$
16+
^a@1 = .*$
17+
^b@1 = .*$
18+
^a.c@1 = .*$
19+
^b.d@1 = .*$
20+
--
21+
The trace contains entries for the module instances.

regression/smv/modules/trace1.smv

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
MODULE main
2+
VAR a : foo;
3+
VAR b : moo;
4+
5+
SPEC AG !a.c.d
6+
7+
MODULE foo
8+
VAR c : moo;
9+
10+
MODULE moo
11+
VAR d : boolean;
12+
INIT d = FALSE

0 commit comments

Comments
 (0)