Skip to content

Commit

Permalink
Adapt regression tests for virtual functions.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Matthias Güdemann committed Feb 5, 2018
1 parent 09efc90 commit 3df5348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions regression/cbmc-java/virtual6/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ A.class
--function A.main --show-goto-functions
^EXIT=0$
^SIGNAL=0$
IF "java::C".*THEN GOTO
IF "java::B".*THEN GOTO
IF "java::A".*THEN GOTO
9 changes: 3 additions & 6 deletions regression/cbmc-java/virtual7/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test.class
--show-goto-functions
^EXIT=0$
^SIGNAL=0$
IF "java::E".*THEN GOTO [12]
IF "java::B".*THEN GOTO [12]
IF "java::D".*THEN GOTO [12]
IF "java::C".*THEN GOTO [12]
--
IF "java::A".*THEN GOTO
IF.*"java::C".*THEN GOTO [12]
IF.*"java::D".*THEN GOTO [12]
IF.*"java::A".*THEN GOTO [12]

0 comments on commit 3df5348

Please sign in to comment.