diff options
| author | Adonais Romero González <[email protected]> | 2023-11-13 13:52:08 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-13 13:52:08 -0800 |
| commit | 393129dc4b45c0c5e22baee61532b7faa7895f03 (patch) | |
| tree | 298714e8c8d9ff0264f7975b83584f46b632ccfb | |
| parent | 570a65f4dc08c709d96ee17bfae9c58f15ce3eba (diff) | |
Add more InfVerif exceptions & clear exclusions (#1052)
| -rw-r--r-- | Build-Sample.ps1 | 10 | ||||
| -rw-r--r-- | exclusions.csv | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/Build-Sample.ps1 b/Build-Sample.ps1 index 67432f92..27f1b6bb 100644 --- a/Build-Sample.ps1 +++ b/Build-Sample.ps1 @@ -139,7 +139,15 @@ $OutLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.out" Write-Verbose "Building Sample: $SampleName; Configuration: $Configuration; Platform: $Platform {" -msbuild $solutionFile -clp:Verbosity=m -t:clean,build -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="/samples /msft /sw1205 /sw1324 /sw1420 /sw1421 /sw2086" -p:SignToolWS=/fdws -p:DriverCFlagAddOn=/wd4996 -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath +# Exclude certain InfVerif exceptions to allow samples to build and detect other errors. +# error 1205: Section [xxx] referenced from DelFiles and CopyFiles directive - network\trans +# error 1144: Device software with SoftwareType 1 may not execute on all product types - general\dchu\osrfx2_dchu_extension_tight +# error 1233: Missing directive CatalogFile required for digital signature - storage\class\disk +# error 2083: Section [xxx] not referenced or used - network\trans, storage\msdsm +# error 2084: Service binary 'xxx' should reference a CopyFiles destination file - network\trans, wpd\wpdservicesampledriver +# errors 1324, 1420, 1421 will be excluded in main branch only until the fixes are merged. +# error 2086 will be excluded until the WDK used in GitHub is updated. +msbuild $solutionFile -clp:Verbosity=m -t:clean,build -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="/samples /msft /sw1144 /sw1199 /sw1205 /sw1233 /sw1324 /sw1420 /sw1421 /sw2083 /sw2084 /sw2086" -p:SignToolWS=/fdws -p:DriverCFlagAddOn=/wd4996 -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath if ($env:WDS_WipeOutputs -ne $null) { Write-Verbose ("WipeOutputs: "+$Directory+" "+(((Get-Volume ($DriveLetter=(Get-Item ".").PSDrive.Name)).SizeRemaining/1GB))) diff --git a/exclusions.csv b/exclusions.csv index 51d3d6fd..1d0c70b0 100644 --- a/exclusions.csv +++ b/exclusions.csv @@ -1,7 +1,6 @@ Path,Reason -storage\class\disk, InfVerif error 1233: Missing directive CatalogFile required for digital signature general\dchu\osrfx2_dchu_extension_loose,Needs fix for project not found -general\dchu\osrfx2_dchu_extension_tight,InfVerif error 1144: Device software with SoftwareType 1 may not execute on all product types +general\dchu\osrfx2_dchu_extension_tight,LINK : error LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification general\winhec 2017 lab\toaster driver,Needs input from end user general\winhec 2017 lab\toaster support app,Needs input from end user network\trans\wfpsampler,Missing INF section; missing libs |
