The time= attribute can also be used for the testsuites tag. While this
attribute appears to be ignored by Jenkins (https://github.com/jenkinsci/junit-plugin/blob/bab34bcc96154a494f8c371953efe06d45813f67/src/main/java/hudson/tasks/junit/SuiteResult.java#L202),
it is still useful if you manually inspect the xml file
Details
Details
- Reviewers
yln - Commits
- rG722e5d6aaeb5: [lit] Include total elapsed time in xunit output
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks!
llvm/utils/lit/lit/reports.py | ||
---|---|---|
83 | Note: I initially didn't include the overall time here because it is measured by simply doing the following in main.py: start = time.time() run_tests(...) elapsed = time.time() - start So it's not necessarily exactly equal to the sum of all the individual test times. |
llvm/utils/lit/lit/reports.py | ||
---|---|---|
83 | Yeah, but I find it quite useful that it shows the real elapsed time when running multiple jobs rather than adding up all individual tests. |
Note: I initially didn't include the overall time here because it is measured by simply doing the following in main.py:
So it's not necessarily exactly equal to the sum of all the individual test times.