diff options
| -rwxr-xr-x | scripts/contrib/build-perf-test-wrapper.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh index efc2b79d6c..d61e438933 100755 --- a/scripts/contrib/build-perf-test-wrapper.sh +++ b/scripts/contrib/build-perf-test-wrapper.sh | |||
| @@ -37,7 +37,6 @@ EOF | |||
| 37 | # Parse command line arguments | 37 | # Parse command line arguments |
| 38 | archive_dir=~/perf-results/archives | 38 | archive_dir=~/perf-results/archives |
| 39 | commitish="" | 39 | commitish="" |
| 40 | results_repo="" | ||
| 41 | while getopts "ha:c:C:w:" opt; do | 40 | while getopts "ha:c:C:w:" opt; do |
| 42 | case $opt in | 41 | case $opt in |
| 43 | h) usage | 42 | h) usage |
| @@ -48,6 +47,7 @@ while getopts "ha:c:C:w:" opt; do | |||
| 48 | c) commitish=$OPTARG | 47 | c) commitish=$OPTARG |
| 49 | ;; | 48 | ;; |
| 50 | C) results_repo=`realpath "$OPTARG"` | 49 | C) results_repo=`realpath "$OPTARG"` |
| 50 | commit_results=("--commit-results" "$results_repo") | ||
| 51 | ;; | 51 | ;; |
| 52 | w) base_dir=`realpath "$OPTARG"` | 52 | w) base_dir=`realpath "$OPTARG"` |
| 53 | ;; | 53 | ;; |
| @@ -110,7 +110,7 @@ fi | |||
| 110 | if ! oe-build-perf-test --out-dir "$results_dir" \ | 110 | if ! oe-build-perf-test --out-dir "$results_dir" \ |
| 111 | --globalres-file "$globalres_log" \ | 111 | --globalres-file "$globalres_log" \ |
| 112 | --lock-file "$base_dir/oe-build-perf.lock" \ | 112 | --lock-file "$base_dir/oe-build-perf.lock" \ |
| 113 | --commit-results "$results_repo" \ | 113 | "${commit_results[@]}" \ |
| 114 | --commit-results-branch "{tester_host}/{git_branch}/$machine" \ | 114 | --commit-results-branch "{tester_host}/{git_branch}/$machine" \ |
| 115 | --commit-results-tag "{tester_host}/{git_branch}/$machine/{git_commit_count}-g{git_commit}/{tag_num}"; then | 115 | --commit-results-tag "{tester_host}/{git_branch}/$machine/{git_commit_count}-g{git_commit}/{tag_num}"; then |
| 116 | echo "oe-build-perf-test script failed!" | 116 | echo "oe-build-perf-test script failed!" |
