diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-11 17:45:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-11 17:47:10 +0000 |
commit | be52da152a4d9f9e798844f592ec9ae7e051c658 (patch) | |
tree | 8971c8915e6a8e80bd3b452e569cc14333c4ee6a /scripts | |
parent | da960154eab1735e9966c2cba93c21a86515fd7f (diff) | |
download | poky-be52da152a4d9f9e798844f592ec9ae7e051c658.tar.gz |
oe-build-perf-report: Fix missing buildstats comparisions2.7_M2
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-build-perf-report | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index b3c769895e..af4f0469f6 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): | |||
427 | 427 | ||
428 | # Compare buildstats | 428 | # Compare buildstats |
429 | bs_key = test + '.' + meas | 429 | bs_key = test + '.' + meas |
430 | rev = metadata['commit_num']['value'] | 430 | rev = str(metadata['commit_num']['value']) |
431 | comp_rev = metadata['commit_num']['value_old'] | 431 | comp_rev = str(metadata['commit_num']['value_old']) |
432 | if (rev in buildstats and bs_key in buildstats[rev] and | 432 | if (rev in buildstats and bs_key in buildstats[rev] and |
433 | comp_rev in buildstats and bs_key in buildstats[comp_rev]): | 433 | comp_rev in buildstats and bs_key in buildstats[comp_rev]): |
434 | new_meas['buildstats'] = BSSummary(buildstats[comp_rev][bs_key], | 434 | new_meas['buildstats'] = BSSummary(buildstats[comp_rev][bs_key], |