1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-10-17 13:32:09 -05:00

tools: run-tests: leak-test: add output

This commit is contained in:
Bill Zissimopoulos
2016-11-02 20:59:16 -07:00
parent 53077d990a
commit 8c8d669be8

View File

@@ -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