From 96c1ff4ef12a59ee6c3d97f938f7339446dfe1bc Mon Sep 17 00:00:00 2001 From: dannyvv Date: Mon, 5 Aug 2019 12:43:45 -0700 Subject: [PATCH] Have dev-builds be interactive by default (#686) --- RunCheckInTests.cmd | 2 +- Shared/Scripts/bxl.ps1 | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/RunCheckInTests.cmd b/RunCheckInTests.cmd index abfb6f3a1..8dd7fec02 100644 --- a/RunCheckInTests.cmd +++ b/RunCheckInTests.cmd @@ -17,7 +17,7 @@ set MINIMAL_LAB=0 REM These are provided to bxl.cmd only when /lab is specified (automated builds). REM For lab builds, log full outputs. REM For lab builds, retry unit tests automatically. -set LAB_SPECIFIC_ARGS=/logOutput:FullOutputOnError /p:RetryXunitTests=1 /processRetries:3 +set LAB_SPECIFIC_ARGS=-DisableInteractive /logOutput:FullOutputOnError /p:RetryXunitTests=1 /processRetries:3 set INTERNAL_BUILD_ARGS=/p:[Sdk.BuildXL]microsoftInternal=1 if not defined [BuildXL.Branding]SemanticVersion ( diff --git a/Shared/Scripts/bxl.ps1 b/Shared/Scripts/bxl.ps1 index 60be5b379..b035f59f8 100644 --- a/Shared/Scripts/bxl.ps1 +++ b/Shared/Scripts/bxl.ps1 @@ -108,6 +108,8 @@ param( [switch]$PatchDev = $false, + [switch]$DisableInteractive = $false, + [switch]$DoNotUseDefaultCacheConfigFilePath = $false, [switch]$UseL3Cache = $true, @@ -512,6 +514,10 @@ if ($shouldDeploy -and $shouldClean) { } } +if (-not $DisableInteractive) { + $AdditionalBuildXLArguments += "/Interactive+" +} + # let any freeform filter arguments take precedence over the default filter $skipFilter = $false; for($i = 0; $i -lt $DominoArguments.Count; $i++){