Commit ec6917c
[cdac] Run unit tests + DataGenerator tests in runtime-diagnostics pipeline
Three pieces:
1. eng/Subsets.props: wire the DataGeneratorTests project
(cdac/tests/DataGenerator/) under the existing tools.cdactests subset
alongside the existing UnitTests project. No new subset -- one subset
builds both managed-side cDAC test projects.
2. eng/pipelines/runtime-diagnostics.yml: new CdacUnitTests stage that
runs tools.cdactests on linux_x64 Checked with -test. Independent of
the dump/stress legs (no native runtime needed). Publishes xunit
results. Now the cDAC unit tests + DataGenerator tests live in the
cDAC-focused pipeline next to the dump/stress tests.
3. src/native/managed/cdac/tests/DataGenerator/TestTarget.cs: override
the new Target.ReadNInt abstract method (added in e9e3c8d,
#128784) so the DataGeneratorTests project compiles. Mirrors the
existing ReadNUInt override.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 25bd04c commit ec6917c
3 files changed
Lines changed: 28 additions & 0 deletions
File tree
- eng
- pipelines
- src/native/managed/cdac/tests/DataGenerator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| 534 | + | |
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
281 | 305 | | |
282 | 306 | | |
283 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
202 | 205 | | |
203 | 206 | | |
204 | 207 | | |
| |||
0 commit comments