From a532c196a517ffda7dbee44fab491bce06f5f18f Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Wed, 7 May 2014 20:56:51 +0100 Subject: Enabled "HAVOC-generated bpl files" lit tests. --- Test/havoc0/KbdCreateClassObject.bpl | 2 ++ Test/havoc0/KeyboardClassFindMorePorts.bpl | 2 ++ Test/havoc0/KeyboardClassUnload.bpl | 2 ++ Test/havoc0/MouCreateClassObject.bpl | 2 ++ Test/havoc0/MouseClassFindMorePorts.bpl | 2 ++ Test/havoc0/MouseClassUnload.bpl | 2 ++ Test/havoc0/success.expect | 2 ++ 7 files changed, 14 insertions(+) create mode 100644 Test/havoc0/success.expect (limited to 'Test/havoc0') 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 -- cgit v1.2.3