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/VSI-Benchmarks/runtest.bat | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Test/VSI-Benchmarks') diff --git a/Test/VSI-Benchmarks/runtest.bat b/Test/VSI-Benchmarks/runtest.bat index a733a1c0..611f9251 100644 --- a/Test/VSI-Benchmarks/runtest.bat +++ b/Test/VSI-Benchmarks/runtest.bat @@ -9,11 +9,5 @@ set CSC=c:/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe for %%f in (b1.dfy b2.dfy b3.dfy b4.dfy b5.dfy b6.dfy b7.dfy b8.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