Xamarin Public Jenkins (auto-signing) e2950ec768 Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
2018-01-29 19:03:06 +00:00

37 lines
822 B
Batchfile

@if not defined _echo @echo off
setlocal EnableDelayedExpansion
set __ThisScriptShort=%0
if /i "%1" == "/?" goto HelpVarCall
if /i "%1" == "-?" goto HelpVarCall
if /i "%1" == "/h" goto HelpVarCall
if /i "%1" == "-h" goto HelpVarCall
if /i "%1" == "/help" goto HelpVarCall
if /i "%1" == "-help" goto HelpVarCall
if defined BUILDVARS_DONE goto :AfterVarSetup
goto :NormalVarCall
:HelpVarCall
call %~dp0buildvars-setup.cmd -help
exit /b 1
:NormalVarCall
call %~dp0buildvars-setup.cmd %*
IF NOT ERRORLEVEL 1 goto AfterVarSetup
echo Setting build variables failed.
exit /b %ERRORLEVEL%
:AfterVarSetup
if defined __SkipTests exit /b 0
pushd "%__ProjectDir%\tests"
call "runtest.cmd" %__BuildType% %__BuildArch% /dotnetclipath %__DotNetCliPath%
set TEST_EXIT_CODE=%ERRORLEVEL%
popd
exit /b %TEST_EXIT_CODE%