mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: run-tests: correctly test ERRORLEVEL
This commit is contained in:
parent
74af44e2e7
commit
4b48502232
@ -1,6 +1,7 @@
|
||||
@echo off
|
||||
|
||||
setlocal
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
set Configuration=Release
|
||||
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
|
||||
popd
|
||||
|
||||
if errorlevel 1 (
|
||||
if !ERRORLEVEL! neq 0 (
|
||||
set /a testfail=testfail+1
|
||||
|
||||
echo === Failed %%f
|
||||
|
Loading…
x
Reference in New Issue
Block a user