[PATCH] D95082: [lld][benchmark] LNT expects format_version as a string

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 12:53:13 PST 2021


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a reviewer: lebedev.ri.
Herald added subscribers: dkolesnichenko, lebedev.ri.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Not sure how (if) it was working before... but I needed to make
this change for things to work against my local LNT instance (from a
recent checkout of the LNT repo.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95082

Files:
  lld/utils/benchmark.py


Index: lld/utils/benchmark.py
===================================================================
--- lld/utils/benchmark.py
+++ lld/utils/benchmark.py
@@ -119,7 +119,7 @@
     tests = [runBench(b) for b in benchmarks]
     end = datetime.datetime.utcnow().isoformat()
     ret = {
-        'format_version' : 2,
+        'format_version' : '2',
         'machine' : { 'name' : args.machine },
         'run' : {
             'end_time' : start,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95082.317979.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210120/21211369/attachment.bin>


More information about the llvm-commits mailing list