@echo off
pushd %cd%
setlocal
@set ExcludeAdminOnly=/exclude:AdminOnly
@if "%appveyor%" == "True" set ExcludeAdminOnly=
cd %~dp0
OpenCover.Console.exe -register:user -safemode:on -target:..\..\..\main\packages\NUnit.Runners.2.6.4\tools\nunit-console-x86.exe -targetargs:"OpenCover.Test.dll /noshadow %ExcludeAdminOnly%" -filter:"+[Open*]* -[OpenCover.T*]* -<nunit-console*>[*]* -<pdb*>[*]*" -output:opencovertests.xml -communicationtimeout:9999
endlocal
popd
