From 6c6ccc4987704324a2ca11ff87f9c36faafa4193 Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 15 Sep 2021 17:09:26 +0800 Subject: [PATCH] update test framework --- tests/pytest/test-all.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/pytest/test-all.bat b/tests/pytest/test-all.bat index f0eb418384..1f1e2c1727 100644 --- a/tests/pytest/test-all.bat +++ b/tests/pytest/test-all.bat @@ -4,9 +4,8 @@ for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) for /F "usebackq tokens=*" %%i in (fulltest.bat) do ( echo Processing %%i call %%i ARG1 -w 1 -m %1 > result.txt 2>error.txt - if errorlevel 1 ( call :colorEcho 0c "failed" &echo. ) else ( call :colorEcho 0a "Success" &echo. ) + if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit 8 ) else ( call :colorEcho 0a "Success" &echo. ) ) - exit :colorEcho -- GitLab