From 607ef28aadb281ab61a2be493a637126e967a388 Mon Sep 17 00:00:00 2001 From: wuestholz Date: Thu, 29 May 2014 21:41:00 +0200 Subject: Set up the same test infrastructure as in Boogie. --- Test/cloudmake/CloudMake-CachedBuilds.dfy | 3 +++ Test/cloudmake/CloudMake-CachedBuilds.dfy.expect | 2 ++ Test/cloudmake/CloudMake-ConsistentBuilds.dfy | 5 ++++- Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect | 2 ++ Test/cloudmake/CloudMake-ParallelBuilds.dfy | 3 +++ Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect | 2 ++ 6 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Test/cloudmake/CloudMake-CachedBuilds.dfy.expect create mode 100644 Test/cloudmake/CloudMake-ConsistentBuilds.dfy.expect create mode 100644 Test/cloudmake/CloudMake-ParallelBuilds.dfy.expect (limited to 'Test/cloudmake') 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, 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 -- cgit v1.2.3