From cdefc951832b6efc455ce3070e6fab470bd602f1 Mon Sep 17 00:00:00 2001 From: Rustan Leino Date: Tue, 22 Nov 2011 18:33:22 -0800 Subject: Dafny: call C# compiler directly from inside Dafny, and optionally produce a .cs file with the new /spillTargetCode switch --- Test/vacid0/runtest.bat | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Test/vacid0') diff --git a/Test/vacid0/runtest.bat b/Test/vacid0/runtest.bat index 32c6a984..efe7b3d5 100644 --- a/Test/vacid0/runtest.bat +++ b/Test/vacid0/runtest.bat @@ -9,11 +9,5 @@ set CSC=c:/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe for %%f in (LazyInitArray.dfy SparseArray.dfy Composite.dfy) do ( echo. echo -------------------- %%f -------------------- - - REM The following line will just run the verifier - IF "%COMPILEDAFNY%"=="" %DAFNY_EXE% /compile:0 %* %%f - - REM Alternatively, the following lines also produce C# code and compile it - IF NOT "%COMPILEDAFNY%"=="" %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 ) -- cgit v1.2.3