summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-04-07 14:51:39 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-08 22:48:07 +0100
commit9cdd4ea5e006fe326bdf39ea437b9ba61a66b778 (patch)
tree453447cf199863d282d1b154732efd4d9b636cec
parent80b450cca746f068dd63e4546fa4c1eef2d86a0d (diff)
downloadopenembedded-core-contrib-9cdd4ea5e006fe326bdf39ea437b9ba61a66b778.tar.gz
openembedded-core-contrib-9cdd4ea5e006fe326bdf39ea437b9ba61a66b778.tar.bz2
openembedded-core-contrib-9cdd4ea5e006fe326bdf39ea437b9ba61a66b778.zip
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 <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/contrib/build-perf-test-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
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