summaryrefslogtreecommitdiffstats
path: root/scripts/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-xscripts/contrib/build-perf-test-wrapper.sh6
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 90dd545495..97e24d8b23 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -19,6 +19,8 @@
19# oe-build-perf-test and archives the results. 19# oe-build-perf-test and archives the results.
20 20
21script=`basename $0` 21script=`basename $0`
22archive_dir=~/perf-results/archives
23
22usage () { 24usage () {
23cat << EOF 25cat << EOF
24Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO] 26Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO]
@@ -26,16 +28,16 @@ Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO]
26Optional arguments: 28Optional arguments:
27 -h show this help and exit. 29 -h show this help and exit.
28 -a ARCHIVE_DIR archive results tarball here, give an empty string to 30 -a ARCHIVE_DIR archive results tarball here, give an empty string to
29 disable tarball archiving 31 disable tarball archiving (default: $archive_dir)
30 -c COMMITISH test (checkout) this commit 32 -c COMMITISH test (checkout) this commit
31 -C GIT_REPO commit results into Git 33 -C GIT_REPO commit results into Git
32 -w WORK_DIR work dir for this script 34 -w WORK_DIR work dir for this script
35 (default: GIT_TOP_DIR/build-perf-test)
33EOF 36EOF
34} 37}
35 38
36 39
37# Parse command line arguments 40# Parse command line arguments
38archive_dir=~/perf-results/archives
39commitish="" 41commitish=""
40while getopts "ha:c:C:w:" opt; do 42while getopts "ha:c:C:w:" opt; do
41 case $opt in 43 case $opt in