diff options
author | chmaria <unknown> | 2012-06-12 04:34:14 +0200 |
---|---|---|
committer | chmaria <unknown> | 2012-06-12 04:34:14 +0200 |
commit | 77d3b2f3619972d2867fadee815e6aff8f5454d9 (patch) | |
tree | fbe42eebd37d3c7ad9525a27c91eb3b83925dc4d /Test/VSComp2010/runtestNoRuntimeChecking.bat | |
parent | b52bb9d992c8c66665094110d399cfff31d71349 (diff) |
Dafny: Added tests.
Diffstat (limited to 'Test/VSComp2010/runtestNoRuntimeChecking.bat')
-rw-r--r-- | Test/VSComp2010/runtestNoRuntimeChecking.bat | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Test/VSComp2010/runtestNoRuntimeChecking.bat b/Test/VSComp2010/runtestNoRuntimeChecking.bat new file mode 100644 index 00000000..4efd244a --- /dev/null +++ b/Test/VSComp2010/runtestNoRuntimeChecking.bat @@ -0,0 +1,28 @@ +@echo off
+setlocal
+
+set BOOGIEDIR=..\..\Binaries
+set DAFNY_EXE=%BOOGIEDIR%\Dafny.exe
+set BPLEXE=%BOOGIEDIR%\Boogie.exe
+
+for %%f in (Problem1-SumMax Problem2-Invert Problem3-FindZero
+ Problem4-Queens Problem5-DoubleEndedQueue) do (
+ echo.
+ echo -------------------- %%f --------------------
+ %DAFNY_EXE% /nologo /errorTrace:0 /verification:0 /runtimeChecking:0 /compile:2 %* %%f.dfy
+ if exist %%f.cs. (
+ del %%f.cs
+ )
+ if exist %%f.exe. (
+ del %%f.exe
+ )
+ if exist %%f.dll. (
+ del %%f.dll
+ )
+ if exist %%f.pdb. (
+ del %%f.pdb
+ )
+ if exist %%f.pdb.original. (
+ del %%f.pdb.original
+ )
+)
|