mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-16 17:19:54 -05:00
tools: run-tests: leak-test: add output
This commit is contained in:
1 parent
53077d990a
commit
8c8d669be8
1 file changed
+5
-2
+5
-2
@@ -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
|
||||
Reference in new issue
Block a user