diff options
author | Rustan Leino <leino@microsoft.com> | 2011-11-22 18:33:22 -0800 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-11-22 18:33:22 -0800 |
commit | 6be834e8f71d8f099576df4b9ed237d64866e035 (patch) | |
tree | d723de12f2112ec491aa72adec9b2c47945cf240 /Test/VSComp2010 | |
parent | 9be82a702255a26e458440e8fdee9be061c8e39e (diff) |
Dafny: call C# compiler directly from inside Dafny, and optionally produce a .cs file with the new /spillTargetCode switch
Diffstat (limited to 'Test/VSComp2010')
-rw-r--r-- | Test/VSComp2010/Answer | 5 | ||||
-rw-r--r-- | Test/VSComp2010/runtest.bat | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Test/VSComp2010/Answer b/Test/VSComp2010/Answer index dc523fdf..9a083fa3 100644 --- a/Test/VSComp2010/Answer +++ b/Test/VSComp2010/Answer @@ -2,24 +2,19 @@ -------------------- Problem1-SumMax.dfy --------------------
Dafny program verifier finished with 4 verified, 0 errors
-Compiled program written to out.cs
-------------------- Problem2-Invert.dfy --------------------
Dafny program verifier finished with 7 verified, 0 errors
-Compiled program written to out.cs
-------------------- Problem3-FindZero.dfy --------------------
Dafny program verifier finished with 7 verified, 0 errors
-Compiled program written to out.cs
-------------------- Problem4-Queens.dfy --------------------
Dafny program verifier finished with 9 verified, 0 errors
-Compiled program written to out.cs
-------------------- Problem5-DoubleEndedQueue.dfy --------------------
Dafny program verifier finished with 21 verified, 0 errors
-Compiled program written to out.cs
diff --git a/Test/VSComp2010/runtest.bat b/Test/VSComp2010/runtest.bat index e16eda13..9535d677 100644 --- a/Test/VSComp2010/runtest.bat +++ b/Test/VSComp2010/runtest.bat @@ -11,7 +11,5 @@ for %%f in (Problem1-SumMax.dfy Problem2-Invert.dfy Problem5-DoubleEndedQueue.dfy) do (
echo.
echo -------------------- %%f --------------------
- %DAFNY_EXE% %* %%f
-
- IF NOT "%COMPILEDAFNY%"=="" %CSC% /nologo /debug /t:library /out:out.dll /r:System.Numerics.dll out.cs
+ %DAFNY_EXE% /compile:0 %* %%f
)
|