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.

(From OE-Core rev: 9cdd4ea5e006fe326bdf39ea437b9ba61a66b778)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2017-04-07 14:51:39 +03:00 committed by Richard Purdie
parent 343cc9646d
commit 60658499c2
1 changed files with 1 additions and 1 deletions

View File

@ -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