summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-09-15 15:54:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-18 11:07:23 +0100
commit2930515acb5cfdcd335a76ae36fd9f7189207aa3 (patch)
treebe2a560c1cb29cb884a8f705fdec965d082d56ff
parent17dbfd967019f9b50a9f6aa3f48cd3658fcccc70 (diff)
downloadopenembedded-core-contrib-2930515acb5cfdcd335a76ae36fd9f7189207aa3.tar.gz
openembedded-core-contrib-2930515acb5cfdcd335a76ae36fd9f7189207aa3.tar.bz2
openembedded-core-contrib-2930515acb5cfdcd335a76ae36fd9f7189207aa3.zip
scripts/oe-build-perf-report: fix dumping buildstats
Fix a misbehavior when some of the buildstats are missing. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xscripts/oe-build-perf-report1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index b5ad42bc8a..23081db173 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -422,6 +422,7 @@ def dump_buildstats(repo, outdir, notes_ref, revs):
'show', tag + '^0']))
except GitError:
log.warning("Buildstats not found for %s", tag)
+ bs_all = {}
missing = True
for measurement, buildstats in bs_all.items():
tag_base, run_id = tag.rsplit('/', 1)