summaryrefslogtreecommitdiff
path: root/tcwg-benchmark-results.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-07-12 11:42:10 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-07-20 09:15:05 +0000
commit35a1e0ff46962b2868619965eddf4c294004bcfa (patch)
tree166c8903df8ad16ccb4a374db4c201d334eadd03 /tcwg-benchmark-results.sh
parent7e0da6ccb902cb398a67771931f1d53b22f10155 (diff)
tcwg-benchmark-results.sh: Add results_ref parameter.
Instead of hardcoding "1" as reference. Change-Id: I57efe5c3203b242f556c09d310d85c1124175fb1
Diffstat (limited to 'tcwg-benchmark-results.sh')
-rwxr-xr-xtcwg-benchmark-results.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwg-benchmark-results.sh b/tcwg-benchmark-results.sh
index 03823a05..d9e23ad8 100755
--- a/tcwg-benchmark-results.sh
+++ b/tcwg-benchmark-results.sh
@@ -7,6 +7,7 @@ set -ex
# Make shellcheck happy and workaround Jenkins not defining variables
# for empty arguments.
results_id="$results_id"
+results_ref="$results_ref"
# Jenkins doesn't define variables when parameter value is empty (like cflags),
# so enable "set -u" only after above binding of variables.
@@ -15,7 +16,7 @@ set -u
results_top="dev-01.tcwglab:/home/tcwg-benchmark/results"
rsync -az --delete "$results_top-$results_id/" results/
-rsync -az --delete "$results_top-$(dirname $results_id)/1/" baseline/
+rsync -az --delete "$results_top-$results_ref/" baseline/
for i in baseline results; do
bmk-scripts/perfdatadir2csv.sh --buildid-dir local -t --num 0 --format sample --results-dir "$i/" > "time-$i.csv"