From: Markus Lehtonen Date: Fri, 7 Apr 2017 11:51:39 +0000 (+0300) Subject: build-perf-test-wrapper.sh: support extra args for email script X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cdd4ea5e006fe326bdf39ea437b9ba61a66b778;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git build-perf-test-wrapper.sh: support extra args for email script Make it possible to provide (extra) command line arguments to the oe-build-perf-test-email script via a new environment variable OE_BUILD_PERF_REPORT_EMAIL_EXTRA_ARGS. Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh index 49bc298c5b7..3da32532bea 100755 --- a/scripts/contrib/build-perf-test-wrapper.sh +++ b/scripts/contrib/build-perf-test-wrapper.sh @@ -193,7 +193,7 @@ if [ -n "$results_repo" ]; then os_name=`get_os_release_var PRETTY_NAME` oe-build-perf-report -r "$results_repo" > report.txt oe-build-perf-report -r "$results_repo" --html > report.html - "$script_dir"/oe-build-perf-report-email.py --to "$email_to" --subject "Build Perf Test Report for $os_name" --text report.txt --html report.html + "$script_dir"/oe-build-perf-report-email.py --to "$email_to" --subject "Build Perf Test Report for $os_name" --text report.txt --html report.html "${OE_BUILD_PERF_REPORT_EMAIL_EXTRA_ARGS[@]}" fi fi