[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2794/8267] build-perf-test-wrapper.sh: show defaults for '-a' and '-w'
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2794/8267] build-perf-test-wrapper.sh: show defaults for '-a' and '-w'
- Date: Sat, 16 Dec 2017 23:43:48 +0000 (UTC)
commit 4df40248b38082340180bfd6dd90e180e2119a4f
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date: Thu Sep 29 20:10:09 2016 +0300
build-perf-test-wrapper.sh: show defaults for '-a' and '-w'
Display default values for '-a' and '-w' command line arguments in the
usage help text.
(From OE-Core rev: 580708398f22333bc4b5899e4129a8939fb7ce12)
Signed-off-by: Markus Lehtonen <markus lehtonen linux intel com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
scripts/contrib/build-perf-test-wrapper.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index 90dd545..97e24d8 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -19,6 +19,8 @@
# oe-build-perf-test and archives the results.
script=`basename $0`
+archive_dir=~/perf-results/archives
+
usage () {
cat << EOF
Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO]
@@ -26,16 +28,16 @@ Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO]
Optional arguments:
-h show this help and exit.
-a ARCHIVE_DIR archive results tarball here, give an empty string to
- disable tarball archiving
+ disable tarball archiving (default: $archive_dir)
-c COMMITISH test (checkout) this commit
-C GIT_REPO commit results into Git
-w WORK_DIR work dir for this script
+ (default: GIT_TOP_DIR/build-perf-test)
EOF
}
# Parse command line arguments
-archive_dir=~/perf-results/archives
commitish=""
while getopts "ha:c:C:w:" opt; do
case $opt in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]