Commit 33bcae6
committed
junit: filter chipStar runtime info/warning lines from test stderr
chipStar's HIPRTC prints lines like:
CHIP warning [TID ...]: hiprtc: ignored option: '-default-device'
CHIP info [TID ...]: CHIP_PLATFORM=0
to stderr on every test invocation. The junit framework treats any
non-empty stderr as a test failure, causing all HIP backend tests to
be marked as failed regardless of their actual result.
Filter lines beginning with 'CHIP info ', 'CHIP warning ', or
'CHIP debug ' before deciding whether stderr constitutes a failure.
The full (unfiltered) stderr is still reported in the failure message
so the output remains visible for debugging.1 parent 9109e26 commit 33bcae6
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
464 | 469 | | |
465 | 470 | | |
466 | 471 | | |
| |||
0 commit comments