When running multiple shards, don't include skipped tests in the xunit
output since merging the files will result in duplicates.
In our CHERI Jenkins CI, I configured the libc++ tests to run using sharding
(since we are testing using a single-CPU QEMU). We then merge the generated
XUnit xml files to produce a final result, but if the individual XMLs
report tests excluded due to sharding each test is included N times in the
final result. This also makes it difficult to find the tests that were
skipped due to missing REQUIRES: etc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for working on this! I forgot to consider the interaction with sharding.
llvm/utils/lit/lit/main.py | ||
---|---|---|
109 | Can we filter the list of tests here (if sharding is active)? Other report types are also affected by this. |
Can we filter the list of tests here (if sharding is active)? Other report types are also affected by this.