diff options
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-x | 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 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 | ||
21 | script=`basename $0` | 21 | script=`basename $0` |
22 | archive_dir=~/perf-results/archives | ||
23 | |||
22 | usage () { | 24 | usage () { |
23 | cat << EOF | 25 | cat << EOF |
24 | Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO] | 26 | Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO] |
@@ -26,16 +28,16 @@ Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO] | |||
26 | Optional arguments: | 28 | Optional 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) | ||
33 | EOF | 36 | EOF |
34 | } | 37 | } |
35 | 38 | ||
36 | 39 | ||
37 | # Parse command line arguments | 40 | # Parse command line arguments |
38 | archive_dir=~/perf-results/archives | ||
39 | commitish="" | 41 | commitish="" |
40 | while getopts "ha:c:C:w:" opt; do | 42 | while getopts "ha:c:C:w:" opt; do |
41 | case $opt in | 43 | case $opt in |