Commit ca04d12
authored
[ATfE] Extend xfails to exclude tests, and exclude test-hello-raw (#617)
The test-hello-raw picolibc test expects qemu to send data on the serial
port, which the downstream test runner scripts do not currently support.
While this test can be set to be expected to fail, the test will wait
the full timeout duration so it would be better to skip it until the
test runner can be updated.
The lit test driver already supports removing tests from the available
set through the --filter-out option, so this patch extends the existing
xfail mechanism to also allow for excluding tests through this argument.
Unlike the xfail/xfail-not options, this expects a regular expression,
but simply or'ing the filenames is sufficient.
Since skipping the test reduces test coverage, the --show-excluded
option is also enabled by default so that it is clear in the logs when a
test is removed.1 parent 1e02cd0 commit ca04d12
File tree
2 files changed
+35
-5
lines changed- arm-software/embedded/arm-runtimes
- test-support
2 files changed
+35
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
Lines changed: 34 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
456 | 458 | | |
457 | 459 | | |
458 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
459 | 476 | | |
460 | 477 | | |
461 | 478 | | |
462 | 479 | | |
| 480 | + | |
463 | 481 | | |
464 | 482 | | |
465 | 483 | | |
| |||
478 | 496 | | |
479 | 497 | | |
480 | 498 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 499 | + | |
| 500 | + | |
485 | 501 | | |
486 | 502 | | |
487 | 503 | | |
| 504 | + | |
488 | 505 | | |
489 | 506 | | |
490 | 507 | | |
491 | 508 | | |
492 | 509 | | |
| 510 | + | |
493 | 511 | | |
494 | 512 | | |
495 | 513 | | |
496 | 514 | | |
497 | 515 | | |
498 | 516 | | |
499 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
500 | 526 | | |
501 | 527 | | |
502 | 528 | | |
| |||
507 | 533 | | |
508 | 534 | | |
509 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
510 | 540 | | |
511 | 541 | | |
512 | 542 | | |
| |||
0 commit comments