summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakobL-MSFT <[email protected]>2024-01-20 17:46:54 -0800
committerGitHub <[email protected]>2024-01-20 17:46:54 -0800
commit39d4cacae2001f9f8aad5694d82e81deac945189 (patch)
tree1a9accad1112c0825e4e22cdef44c5842b64ed11
parente09a8f39478f9e9656878edc5587533059249a5c (diff)
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
-rw-r--r--Build-SampleSet.ps114
1 files changed, 8 insertions, 6 deletions
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