[oe-commits] [openembedded-core] 06/49: oe-build-perf-report: use correct x-axis max value in html charts

git at git.openembedded.org git at git.openembedded.org
Sun Nov 5 22:42:25 UTC 2017


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

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

commit 3a5a8280a1c079c8cc1161e0abc407c1a62aa068
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Mon May 15 14:18:42 2017 +0300

    oe-build-perf-report: use correct x-axis max value in html charts
    
    (From OE-Core rev: 1d99b018c2b6a44b9db2f2ede113e64dae751eee)
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 scripts/oe-build-perf-report | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index d460caa..6f0b84f 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -373,7 +373,7 @@ def print_html_report(data, id_comp):
 
     # Chart options
     chart_opts = {'haxis': {'min': get_data_item(data[0][0], 'layers.meta.commit_count'),
-                            'max': get_data_item(data[0][0], 'layers.meta.commit_count')}
+                            'max': get_data_item(data[-1][0], 'layers.meta.commit_count')}
                  }
 
     print(html.template.render(metadata=metadata, test_data=tests, chart_opts=chart_opts))

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


More information about the Openembedded-commits mailing list