From 39d4cacae2001f9f8aad5694d82e81deac945189 Mon Sep 17 00:00:00 2001 From: JakobL-MSFT <110699333+JakobL-MSFT@users.noreply.github.com> Date: Sat, 20 Jan 2024 17:46:54 -0800 Subject: A trivial bug in Build-AllSamples.ps1 for the case when there are 0 samples matching the -Samples argument (#1081) user/jakob/build_sample_fix --- Build-SampleSet.ps1 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Build-SampleSet.ps1') diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index b1489e20..535ac6db 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -115,12 +115,14 @@ Import-Csv 'exclusions.csv' | ForEach-Object { } $jresult = @{ - SolutionsBuilt = 0 - SolutionsExcluded = 0 - SolutionsFailed = 0 - Results = @() - FailSet = @() - lock = [System.Threading.Mutex]::new($false) + SolutionsBuilt = 0 + SolutionsSucceeded = 0 + SolutionsExcluded = 0 + SolutionsUnsupported = 0 + SolutionsFailed = 0 + Results = @() + FailSet = @() + lock = [System.Threading.Mutex]::new($false) } $SolutionsTotal = $sampleSet.Count * $Configurations.Count * $Platforms.Count -- cgit v1.3.1