mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tools: run-tests: correctly test ERRORLEVEL
This commit is contained in:
parent
74af44e2e7
commit
4b48502232
@ -1,6 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
setlocal
|
setlocal
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
|
||||||
set Configuration=Release
|
set Configuration=Release
|
||||||
if not X%1==X set Configuration=%1
|
if not X%1==X set Configuration=%1
|
||||||
@ -36,7 +37,7 @@ for %%f in (winfsp-tests-x64 winfsp-tests-x86 :fsx-memfs-x64 :fsx-memfs-x86 :win
|
|||||||
call %%f
|
call %%f
|
||||||
popd
|
popd
|
||||||
|
|
||||||
if errorlevel 1 (
|
if !ERRORLEVEL! neq 0 (
|
||||||
set /a testfail=testfail+1
|
set /a testfail=testfail+1
|
||||||
|
|
||||||
echo === Failed %%f
|
echo === Failed %%f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user