summaryrefslogtreecommitdiff
path: root/Chalice/tests/test-scripts/test.bat
blob: 321fdcef7b520727f092e548781e9a5d4f9335b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off

set chalice="%~dp0\..\..\chalice.bat"

if not exist "%1.chalice" goto errorNotFound

set output=output.txt
echo Verification of %1.chalice > %output%
echo.>> %output%
call %chalice% "%1.chalice" %2 %3 %4 %5 %6 %7 >> %output% 2>&1
type %output%

exit /B 0

:errorNotFound
echo ERROR: %1.chalice not found.
exit /B 1