Commit 2355673
Fix stampinf, ApiValidator, and Dvl.exe failures in CI tests
- Remove <Inf> items from KMDFTestTemplate.vcxproj and CppKMDFTestTemplate.vcxproj
so the StampInf MSBuild task is not triggered (stampinf.exe is not available in
a NuGet-only WDK environment). These templates exist solely for CodeQL analysis,
not for building a production driver, so INF stamping is not needed.
- Add <ApiValidatorEnabled>false</ApiValidatorEnabled> to Directory.Build.props.
ApiValidator.exe is not included in the WDK NuGet packages and is not available
in the CI environment. Disabling it allows the ApplicationForDriversTestTemplate
(WindowsApplicationForDrivers10.0 toolset) to compile successfully for CodeQL.
- Update dvl_tests.ps1 to locate Dvl.exe dynamically from the NuGet packages
directory instead of assuming the traditional system WDK install path
C:\Program Files (x86)\Windows Kits\10\Tools\dvl\Dvl.exe. Falls back to the
system path for developer machines with a full WDK install, and gracefully skips
the dvl command-type tests when Dvl.exe is not found in either location.
- Fix typo -test_emtpy -> -test_empty in the second Test-DVL "dvl" call inside
Test-Driver (the typo was previously unreachable because the test exited earlier
due to the Dvl.exe failure).
Agent-Logs-Url: https://github.com/microsoft/Windows-Driver-Developer-Supplemental-Tools/sessions/8484509b-2924-427f-bd9a-63e365e4b404
Co-authored-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>1 parent 769a917 commit 2355673
4 files changed
Lines changed: 31 additions & 8 deletions
File tree
- src/drivers/test
- TestTemplates
- CppKMDFTestTemplate
- KMDFTestTemplate
- dvl_tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
21 | 38 | | |
22 | 39 | | |
23 | 40 | | |
| |||
85 | 102 | | |
86 | 103 | | |
87 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
88 | 109 | | |
89 | | - | |
| 110 | + | |
90 | 111 | | |
91 | 112 | | |
92 | 113 | | |
| |||
174 | 195 | | |
175 | 196 | | |
176 | 197 | | |
177 | | - | |
| 198 | + | |
178 | 199 | | |
179 | 200 | | |
180 | 201 | | |
| |||
0 commit comments