blob: 54121bbee639419161fc2803359e817d382b69ec (
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
34
35
36
37
|
@echo off
setlocal EnableDelayedExpansion
:: no-summary command line parameter
set nosummary=0
if "%1"=="-no-summary" (
set nosummary=1
SHIFT
)
set t=0
set c=0
for %%f in (examples permission-model general-tests regressions) do (
echo Running tests in %%f ...
echo ------------------------------------------------------
cd %%f
set tt=0
for %%f in (*.chalice) do set /A tt+=1
call reg_test_all.bat -no-summary %1 %2 %3 %4 %5
set /A c=!c!+!errorlevel!
set /A t=!t!+!tt!
cd ..
echo ------------------------------------------------------
)
REM Run refinement regression tests
cd refinements
call test.bat
cd ..
if !nosummary!==0 (
echo.
if !c!==0 (echo SUMMARY: completed !t! tests successfully.) else (echo SUMMARY: !c! of !t! tests failed.)
)
exit /b !c!
|