Skip to content

Commit 9a764e3

Browse files
author
Matthias Güdemann
committed
Adapt regression tests for virtual functions.
These tests were failing when the new way was used which groups class identifiers that have the same resolved function call. Unfortunately the result is not unique here which makes those tests not too useful.
1 parent 3c54521 commit 9a764e3

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

regression/cbmc-java/virtual6/test.desc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ A.class
33
--function A.main --show-goto-functions
44
^EXIT=0$
55
^SIGNAL=0$
6-
IF "java::C".*THEN GOTO
7-
IF "java::B".*THEN GOTO
6+
IF "java::A".*THEN GOTO

regression/cbmc-java/virtual7/test.desc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ test.class
33
--show-goto-functions
44
^EXIT=0$
55
^SIGNAL=0$
6-
IF "java::E".*THEN GOTO [12]
7-
IF "java::B".*THEN GOTO [12]
8-
IF "java::D".*THEN GOTO [12]
9-
IF "java::C".*THEN GOTO [12]
10-
--
11-
IF "java::A".*THEN GOTO
6+
IF.*"java::C".*THEN GOTO [12]
7+
IF.*"java::D".*THEN GOTO [12]
8+
IF.*"java::A".*THEN GOTO [12]

0 commit comments

Comments
 (0)