[Fuego] [PATCH] flot: unify functional and benchmark

Bird, Timothy Tim.Bird at sony.com
Tue Apr 25 23:55:30 UTC 2017


Accepted into 'next'.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Sent: Monday, April 24, 2017 1:38 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH] flot: unify functional and benchmark
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
>  .../plugins/flot-plotter-plugin/src/main/webapp/flot/mod.js            | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/frontend-install/plugins/flot-plotter-
> plugin/src/main/webapp/flot/mod.js b/frontend-install/plugins/flot-plotter-
> plugin/src/main/webapp/flot/mod.js
> index 1c4cc3a..d3bb785 100644
> --- a/frontend-install/plugins/flot-plotter-
> plugin/src/main/webapp/flot/mod.js
> +++ b/frontend-install/plugins/flot-plotter-
> plugin/src/main/webapp/flot/mod.js
> @@ -28,6 +28,7 @@ var jenkins_logs_path = 'http://'+location['host'] +
> '/fuego/userContent/fuego.l
> 
>  // get the test name from the URL
>  var localurl = jQuery(location).attr('href').split("/");
> +var testtype = localurl[localurl.length - 2].split(".")[2] // E.g.: Functional
>  var testsuite = localurl[localurl.length - 2].split(".")[3] // E.g.: Dhrystone
> 
>  // results.json file
> @@ -230,6 +231,6 @@ function plot_all_groupnames(series) {
>      });
>  }
> 
> -jQuery.ajax({ url:
> jenkins_logs_path+'/Benchmark.'+testsuite+'/results.json', method: 'GET',
> dataType: 'json', async: false, success: plot_all_groupnames});
> +jQuery.ajax({ url:
> jenkins_logs_path+'/'+testtype+'.'+testsuite+'/results.json', method: 'GET',
> dataType: 'json', async: false, success: plot_all_groupnames});
> 
>  })
> --
> 2.7.4
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list