summaryrefslogtreecommitdiff
path: root/BCT/Test/buildall.bat
blob: 298adae981b8bdf409ddb24920e26e1dca93cdf4 (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
@echo off
setlocal

set errors=0

if "%1" == "short" goto UseShort

set IncludeLong=True
goto Loop

:UseShort
set IncludeLong=False
shift
goto Loop

:Loop
for /F "eol=; tokens=1,2,3*" %%i in (alltests.txt) do if %%j==Use call build.bat %%i %1 %2 %3 %4 %5 %6 %7 %8 %9 || set errors=1

if not %IncludeLong%==True goto End

for /F "eol=; tokens=1,2,3*" %%i in (alltests.txt) do if %%j==Long call build.bat %%i %1 %2 %3 %4 %5 %6 %7 %8 %9 || set errors=1

:End
exit /b %errors%