diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-07 21:15:02 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-07 21:15:02 +0100 |
commit | f6f1765d810714facbb30fa53c663598d04b8158 (patch) | |
tree | 928a6486a0abaf65fc1a491673e12805658b3d34 /Test | |
parent | acbc945043f81a964f1208f4b9c80c557e854a71 (diff) |
Enabled symdiff lit test.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/symdiff/Answer | 6 | ||||
-rw-r--r-- | Test/symdiff/foo.bpl | 4 | ||||
-rw-r--r-- | Test/symdiff/foo.bpl.expect | 5 |
3 files changed, 11 insertions, 4 deletions
diff --git a/Test/symdiff/Answer b/Test/symdiff/Answer index ad21a1ea..322dacfd 100644 --- a/Test/symdiff/Answer +++ b/Test/symdiff/Answer @@ -1,5 +1,5 @@ -foo.bpl(15,3): Error BP5001: This assertion might not hold.
-foo.bpl(15,3): Error BP5001: This assertion might not hold.
-foo.bpl(15,3): Error BP5001: This assertion might not hold.
+foo.bpl(17,3): Error BP5001: This assertion might not hold.
+foo.bpl(17,3): Error BP5001: This assertion might not hold.
+foo.bpl(17,3): Error BP5001: This assertion might not hold.
Boogie program verifier finished with 0 verified, 3 errors
diff --git a/Test/symdiff/foo.bpl b/Test/symdiff/foo.bpl index 2859aa45..f2c71b8f 100644 --- a/Test/symdiff/foo.bpl +++ b/Test/symdiff/foo.bpl @@ -1,3 +1,5 @@ +// RUN: %boogie -z3multipleErrors -errorTrace:0 %s > %t
+// RUN: %diff %s.expect %t
procedure Foo(x:int)
{
var ok:bool;
@@ -14,4 +16,4 @@ procedure Foo(x:int) assert ok;
-}
\ No newline at end of file +}
diff --git a/Test/symdiff/foo.bpl.expect b/Test/symdiff/foo.bpl.expect new file mode 100644 index 00000000..eec83421 --- /dev/null +++ b/Test/symdiff/foo.bpl.expect @@ -0,0 +1,5 @@ +foo.bpl(17,3): Error BP5001: This assertion might not hold. +foo.bpl(17,3): Error BP5001: This assertion might not hold. +foo.bpl(17,3): Error BP5001: This assertion might not hold. + +Boogie program verifier finished with 0 verified, 3 errors |