From 9cdd4ea5e006fe326bdf39ea437b9ba61a66b778 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 7 Apr 2017 14:51:39 +0300 Subject: 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 --- scripts/contrib/build-perf-test-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh index 49bc298c5b..3da32532be 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 -- cgit 1.2.3-korg