diff options
author | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-05-29 21:41:00 +0200 |
commit | 607ef28aadb281ab61a2be493a637126e967a388 (patch) | |
tree | aae16c049c860e443920f9c6ee31af4e35f8a800 /Test/cloudmake | |
parent | dc0a9130355352d0f47e07232d8119fc7219ccbc (diff) |
Set up the same test infrastructure as in Boogie.
Diffstat (limited to 'Test/cloudmake')
-rw-r--r-- | Test/cloudmake/CloudMake-CachedBuilds.dfy | 3 | ||||
-rw-r--r-- | Test/cloudmake/CloudMake-CachedBuilds.dfy.expect | 2 | ||||
-rw-r--r-- | Test/cloudmake/CloudMake-ConsistentBuilds.dfy | 5 | ||||
-rw-r--r-- | Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect | 2 | ||||
-rw-r--r-- | Test/cloudmake/CloudMake-ParallelBuilds.dfy | 3 | ||||
-rw-r--r-- | Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect | 2 |
6 files changed, 16 insertions, 1 deletions
diff --git a/Test/cloudmake/CloudMake-CachedBuilds.dfy b/Test/cloudmake/CloudMake-CachedBuilds.dfy index f1150809..11df8efe 100644 --- a/Test/cloudmake/CloudMake-CachedBuilds.dfy +++ b/Test/cloudmake/CloudMake-CachedBuilds.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
// This module proves the correctness of the algorithms. It leaves a number of things undefined.
// They are defined in refinement modules below.
abstract module M0 {
diff --git a/Test/cloudmake/CloudMake-CachedBuilds.dfy.expect b/Test/cloudmake/CloudMake-CachedBuilds.dfy.expect new file mode 100644 index 00000000..9fce79c6 --- /dev/null +++ b/Test/cloudmake/CloudMake-CachedBuilds.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 104 verified, 0 errors
diff --git a/Test/cloudmake/CloudMake-ConsistentBuilds.dfy b/Test/cloudmake/CloudMake-ConsistentBuilds.dfy index dcfa1a2b..9463d8bc 100644 --- a/Test/cloudmake/CloudMake-ConsistentBuilds.dfy +++ b/Test/cloudmake/CloudMake-ConsistentBuilds.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
/******* State *******/
type State
@@ -657,4 +660,4 @@ ghost method EvalArgsC'Lemma(expr: Expression, args: seq<Expression>, stC: State var arg', stC' := result.fst, result.snd;
EvalArgsC'Lemma(expr, args[1..], stC, env, args' + [arg'], stsC' + {stC'});
}
-}
\ No newline at end of file +}
diff --git a/Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect b/Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect new file mode 100644 index 00000000..b32518d7 --- /dev/null +++ b/Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 59 verified, 0 errors
diff --git a/Test/cloudmake/CloudMake-ParallelBuilds.dfy b/Test/cloudmake/CloudMake-ParallelBuilds.dfy index e76f60d8..19473b6a 100644 --- a/Test/cloudmake/CloudMake-ParallelBuilds.dfy +++ b/Test/cloudmake/CloudMake-ParallelBuilds.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
// This module proves the correctness of the algorithms. It leaves a number of things undefined.
// They are defined in refinement modules below.
abstract module M0 {
diff --git a/Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect b/Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect new file mode 100644 index 00000000..6d03c23b --- /dev/null +++ b/Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 244 verified, 0 errors
|