mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tools: run-tests: leak-test: add output
This commit is contained in:
parent
53077d990a
commit
8c8d669be8
@ -267,6 +267,9 @@ for /F "tokens=1,2 delims=:" %%i in ('verifier /query ^| findstr ^
|
||||
set NonPagedAlloc=%%j
|
||||
)
|
||||
)
|
||||
if !PagedAlloc! neq 0 goto fail
|
||||
if !NonPagedAlloc! neq 0 goto fail
|
||||
set /A TotalAlloc=PagedAlloc+NonPagedAlloc
|
||||
if !TotalAlloc! neq 0 (
|
||||
echo Leaks: !NonPagedAlloc! NP / !PagedAlloc! P
|
||||
goto fail
|
||||
)
|
||||
exit /b 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user