summaryrefslogtreecommitdiff
path: root/Test/VSComp2010/runtestRuntimeChecking.bat
blob: d3b8a7339421c0b0df5ae96c6a116098f5d6c8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
setlocal

set BOOGIEDIR=..\..\Binaries
set DAFNY_EXE=%BOOGIEDIR%\Dafny.exe
set BPLEXE=%BOOGIEDIR%\Boogie.exe

REM to implement:
REM Problem2-Invert          : quantifiers
REM Problem3-FindZero        : ghost state
REM Problem4-Queens          : quantifiers
REM Problem5-DoubleEndedQueue: ghost state

for %%f in (Problem1-SumMax) 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
  )
)