[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5568/8267] build-perf-test-wrapper.sh: support extra args for email script



commit 60658499c2ed0c92ff3be9a67e6950314873a96f
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Fri Apr 7 14:51:39 2017 +0300

    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>

 scripts/contrib/build-perf-test-wrapper.sh |    2 +-
 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 49bc298..3da3253 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]