[PATCH] D16871: lit: Allow arbitrary key/value data in a test result

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 16:19:08 PST 2016


EricWF added a comment.

In http://reviews.llvm.org/D16871#354314, @MatzeB wrote:

> I just tried changing my code to use addMetric to store the md5sum, but that fails: TypeError: unexpected metric value: '577ee3bb6917176a1130303424ed1aea' because only subclasses of IntMetricValue and RealMetricValue are accepted.
>
> So this patch seems the only way to store those, it is ok to push it?


Why don't you define a MetricValue subclass that works for your data?


Repository:
  rL LLVM

http://reviews.llvm.org/D16871





More information about the llvm-commits mailing list