[oe-commits] [openembedded-core] 39/63: build-perf-test-wrapper.sh: support xml report format
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 4 10:46:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 1aa909991c7c6cd484cae35fcc742fbe7af3f8e8
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Thu Feb 23 15:18:33 2017 +0200
build-perf-test-wrapper.sh: support xml report format
Add new command line option '-x' that enbles xml-formatted reports.
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/contrib/build-perf-test-wrapper.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index f192fcf..240d669 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -33,13 +33,15 @@ Optional arguments:
-C GIT_REPO commit results into Git
-w WORK_DIR work dir for this script
(default: GIT_TOP_DIR/build-perf-test)
+ -x create xml report (instead of json)
EOF
}
# Parse command line arguments
commitish=""
-while getopts "ha:c:C:w:" opt; do
+oe_build_perf_test_extra_opts=()
+while getopts "ha:c:C:w:x" opt; do
case $opt in
h) usage
exit 0
@@ -52,6 +54,8 @@ while getopts "ha:c:C:w:" opt; do
;;
w) base_dir=`realpath -s "$OPTARG"`
;;
+ x) oe_build_perf_test_extra_opts+=("--xml")
+ ;;
*) usage
exit 1
;;
@@ -129,6 +133,7 @@ fi
# Run actual test script
oe-build-perf-test --out-dir "$results_dir" \
--globalres-file "$globalres_log" \
+ "${oe_build_perf_test_extra_opts[@]}" \
--lock-file "$base_dir/oe-build-perf.lock"
# Commit results to git
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list