From e0ce605ffb6704577a5ba1be32695a3bd34f3eb9 Mon Sep 17 00:00:00 2001 From: Rustan Leino Date: Wed, 11 May 2011 17:03:02 -0700 Subject: Dafny: fixed compilation bugs, added @-signs in front of identifiers to avoid clashes with C# keywords, added switch in runtest scripts to turn on compilation --- Test/VSComp2010/runtest.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Test/VSComp2010') diff --git a/Test/VSComp2010/runtest.bat b/Test/VSComp2010/runtest.bat index e39abe7d..e16eda13 100644 --- a/Test/VSComp2010/runtest.bat +++ b/Test/VSComp2010/runtest.bat @@ -4,7 +4,7 @@ setlocal set BOOGIEDIR=..\..\Binaries set DAFNY_EXE=%BOOGIEDIR%\Dafny.exe set BPLEXE=%BOOGIEDIR%\Boogie.exe - +set CSC=c:/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe for %%f in (Problem1-SumMax.dfy Problem2-Invert.dfy Problem3-FindZero.dfy Problem4-Queens.dfy @@ -12,4 +12,6 @@ for %%f in (Problem1-SumMax.dfy Problem2-Invert.dfy echo. echo -------------------- %%f -------------------- %DAFNY_EXE% %* %%f + + IF NOT "%COMPILEDAFNY%"=="" %CSC% /nologo /debug /t:library /out:out.dll /r:System.Numerics.dll out.cs ) -- cgit v1.2.3