Files
compute-runtime/scripts/verify.bat
Mateusz Jablonski 13c34cdd86 Don't copy verify.bat
move verify.bat to scripts

Change-Id: Ic89d3f9bff09833c3b8080f7ebf3c02e724e7465
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-17 19:25:08 +01:00

21 lines
445 B
Batchfile

REM Copyright (C) 2017-2020 Intel Corporation
REM
REM SPDX-License-Identifier: MIT
REM
@where appverif
@if not "%ERRORLEVEL%"=="0" (
@echo No appverif command.
cmd /c exit /b 0
set testError=0
goto end
)
appverif.exe -enable Exceptions Handles Heaps Leak Locks Memory Threadpool TLS DirtyStacks -for %1
%*
set testError=%errorlevel%
echo App Verifier returned: %testError%
appverif.exe -disable * -for * > nul
:end
exit /b %testError%