mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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@linuxfoundation.org>
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user