Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.1.0] Bazel's test XML parser now supports scientific e notation fo…
…r time durations. (#25186) Technically strings like "1e2" are not valid for the `time` attribute (that attribute's schema is supposed to be `xs:decimal`), however some JUNIT writers are non-compliant and use scientific e notation and we want Bazel to still work with them. While I'm here, improve the code comments (the existing comment about us having to support values without decimal points like "12" as milliseconds is backwards as noted in #24605 (comment)) and add tests. Fixes #24605. PiperOrigin-RevId: 722963681 Change-Id: I9383cf7435ae7843f07a5abddbcf790f275403d0 Commit f52568f Co-authored-by: Googler <nharmata@google.com>
- Loading branch information