summaryrefslogtreecommitdiff
path: root/BCT/Test/test0/runtest.bat
blob: f9b744f00e0139b3fe7af316396bdfc5e9801285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off
setlocal

set BCTDIR=..\..\Binaries
set BEXE=%BCTDIR%\BytecodeTranslator.exe

if not exist Output.txt goto justRunTest
del Output.txt

:justRunTest
for %%f in (*.cs) do (
  echo -------------------- %%f --------------------
  csc /nologo /t:library /debug %%~nf.cs
  %BEXE% %%~nf.dll
  type %%~nf.bpl >> Output.txt
)