[PATCH] D45567: [lit] Fix a bug where UNRESOLVED tests were not handled in the XUnit XML printer.
George Karpenkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 10:33:58 PDT 2018
george.karpenkov accepted this revision.
george.karpenkov added inline comments.
================
Comment at: utils/lit/lit/Test.py:377
+ xml += " time='{:.2f}'".format(
+ self.result.elapsed if self.result.elapsed is not None else 0.0)
if self.result.code.isFailure:
----------------
BTW `x if x else y` in python is equivalent to `x or y`. This is optional, since the semantics would be slightly different, but the output would be the same
Repository:
rL LLVM
https://reviews.llvm.org/D45567
More information about the llvm-commits
mailing list