[oe-commits] [openembedded-core] 43/55: oe-build-perf-report: Fix missing buildstats comparisions

git at git.openembedded.org git at git.openembedded.org
Mon Feb 25 22:29:39 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud
in repository openembedded-core.

commit 9ee8845a583a3fa9e9b07d1b0301201ae56c6c41
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Feb 11 17:45:25 2019 +0000

    oe-build-perf-report: Fix missing buildstats comparisions
    Integers were being compared to strings leading to missing buildstats comparision
    data. Fix this.
    (From OE-Core rev: 2dbbf598192ae2b3aa488df042f56aa6c6634a00)
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
 scripts/oe-build-perf-report | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index b3c7698..af4f046 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -427,8 +427,8 @@ def print_html_report(data, id_comp, buildstats):
             # Compare buildstats
             bs_key = test + '.' + meas
-            rev = metadata['commit_num']['value']
-            comp_rev = metadata['commit_num']['value_old']
+            rev = str(metadata['commit_num']['value'])
+            comp_rev = str(metadata['commit_num']['value_old'])
             if (rev in buildstats and bs_key in buildstats[rev] and
                     comp_rev in buildstats and bs_key in buildstats[comp_rev]):
                 new_meas['buildstats'] = BSSummary(buildstats[comp_rev][bs_key],

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list