summaryrefslogtreecommitdiff
path: root/Test/vstte2012/runtestRuntimeChecking.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Test/vstte2012/runtestRuntimeChecking.bat')
-rw-r--r--Test/vstte2012/runtestRuntimeChecking.bat32
1 files changed, 32 insertions, 0 deletions
diff --git a/Test/vstte2012/runtestRuntimeChecking.bat b/Test/vstte2012/runtestRuntimeChecking.bat
new file mode 100644
index 00000000..042efe96
--- /dev/null
+++ b/Test/vstte2012/runtestRuntimeChecking.bat
@@ -0,0 +1,32 @@
+@echo off
+setlocal
+
+set BOOGIEDIR=..\..\Binaries
+set DAFNY_EXE=%BOOGIEDIR%\Dafny.exe
+set BPLEXE=%BOOGIEDIR%\Boogie.exe
+
+REM to implement:
+REM Combinators : ghost state
+REM RingBuffer : ghost state
+REM RingBufferAuto: ghost state
+
+for %%f in (Two-Way-Sort Tree BreadthFirstSearch) do (
+ echo.
+ echo -------------------- %%f --------------------
+ %DAFNY_EXE% /nologo /errorTrace:0 /verification:0 /runtimeChecking:1 /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
+ )
+)