summaryrefslogtreecommitdiff
path: root/Test/havoc0
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 20:56:51 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 20:56:51 +0100
commita532c196a517ffda7dbee44fab491bce06f5f18f (patch)
treef7c6ce5b1b55f8a242f26df1757d9d2f6f13afff /Test/havoc0
parent868c3ef5b53f0a07a4bd0f45b47269800564e251 (diff)
Enabled "HAVOC-generated bpl files" lit tests.
Diffstat (limited to 'Test/havoc0')
-rw-r--r--Test/havoc0/KbdCreateClassObject.bpl2
-rw-r--r--Test/havoc0/KeyboardClassFindMorePorts.bpl2
-rw-r--r--Test/havoc0/KeyboardClassUnload.bpl2
-rw-r--r--Test/havoc0/MouCreateClassObject.bpl2
-rw-r--r--Test/havoc0/MouseClassFindMorePorts.bpl2
-rw-r--r--Test/havoc0/MouseClassUnload.bpl2
-rw-r--r--Test/havoc0/success.expect2
7 files changed, 14 insertions, 0 deletions
diff --git a/Test/havoc0/KbdCreateClassObject.bpl b/Test/havoc0/KbdCreateClassObject.bpl
index a7f6e9c2..35892d41 100644
--- a/Test/havoc0/KbdCreateClassObject.bpl
+++ b/Test/havoc0/KbdCreateClassObject.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/KeyboardClassFindMorePorts.bpl b/Test/havoc0/KeyboardClassFindMorePorts.bpl
index 28e0dd09..a2324310 100644
--- a/Test/havoc0/KeyboardClassFindMorePorts.bpl
+++ b/Test/havoc0/KeyboardClassFindMorePorts.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/KeyboardClassUnload.bpl b/Test/havoc0/KeyboardClassUnload.bpl
index 3deae4cd..83aba916 100644
--- a/Test/havoc0/KeyboardClassUnload.bpl
+++ b/Test/havoc0/KeyboardClassUnload.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/MouCreateClassObject.bpl b/Test/havoc0/MouCreateClassObject.bpl
index d988dfbd..62f1276b 100644
--- a/Test/havoc0/MouCreateClassObject.bpl
+++ b/Test/havoc0/MouCreateClassObject.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/MouseClassFindMorePorts.bpl b/Test/havoc0/MouseClassFindMorePorts.bpl
index 627d8502..56b24b26 100644
--- a/Test/havoc0/MouseClassFindMorePorts.bpl
+++ b/Test/havoc0/MouseClassFindMorePorts.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/MouseClassUnload.bpl b/Test/havoc0/MouseClassUnload.bpl
index 87e31029..047a6c54 100644
--- a/Test/havoc0/MouseClassUnload.bpl
+++ b/Test/havoc0/MouseClassUnload.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -monomorphize %s > %t
+// RUN: %diff success.expect %t
type byte, name;
function OneByteToInt(byte) returns (int);
function TwoBytesToInt(byte, byte) returns (int);
diff --git a/Test/havoc0/success.expect b/Test/havoc0/success.expect
new file mode 100644
index 00000000..37fad75c
--- /dev/null
+++ b/Test/havoc0/success.expect
@@ -0,0 +1,2 @@
+
+Boogie program verifier finished with 1 verified, 0 errors