Skip to content

Commit ed0aa30

Browse files
committed
WDK test infra changes
1 parent ac36f02 commit ed0aa30

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Build-AllSamples.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ param(
4040
[string[]]$Configurations = @(if ([string]::IsNullOrEmpty($env:WDS_Configuration)) { ('Debug', 'Release') } else { $env:WDS_Configuration }),
4141
[string[]]$Platforms = @(if ([string]::IsNullOrEmpty($env:WDS_Platform)) { ('x64', 'arm64') } else { $env:WDS_Platform }),
4242
[string]$LogFilesDirectory = (Join-Path (Get-Location) "_logs"),
43+
[string]$InfOptions = "",
4344
[int]$ThrottleLimit
4445
)
4546

@@ -68,4 +69,4 @@ foreach ($file in $solutionFiles) {
6869
}
6970
}
7071

71-
.\Build-SampleSet -SampleSet $sampleSet -Configurations $Configurations -Platform $Platforms -LogFilesDirectory $LogFilesDirectory -Verbose:$Verbose -ThrottleLimit $ThrottleLimit
72+
.\Build-SampleSet -SampleSet $sampleSet -Configurations $Configurations -Platform $Platforms -LogFilesDirectory $LogFilesDirectory -Verbose:$Verbose -ThrottleLimit $ThrottleLimit -InfOptions $InfOptions

Build-SampleSet.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ param(
55
[string[]]$Platforms = @(if ([string]::IsNullOrEmpty($env:WDS_Platform)) { "x64" } else { $env:WDS_Platform }),
66
$LogFilesDirectory = (Get-Location),
77
[string]$ReportFileName = $(if ([string]::IsNullOrEmpty($env:WDS_ReportFileName)) { "_overview" } else { $env:WDS_ReportFileName }),
8+
[string]$InfOptions = "",
89
[int]$ThrottleLimit = 0
910
)
1011

@@ -135,6 +136,11 @@ if ($build_environment -match '^EWDK') {
135136
#
136137
$InfVerif_AdditionalOptions=($build_number -le 22621 ? "/sw1284 /sw1285 /sw1293 /sw2083 /sw2086" : "/samples")
137138

139+
# Override InfVerif_AdditionalOptions if InfOptions parameter was provided
140+
if (-not [string]::IsNullOrEmpty($InfOptions)) {
141+
$InfVerif_AdditionalOptions = $InfOptions
142+
}
143+
138144
#
139145
# Determine exclusions.
140146
#

0 commit comments

Comments
 (0)