summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-04-27 17:19:46 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-04-29 11:41:06 +0000
commit1c7d863d4ac2633f0b37c6ce8b4c69e2b59b74b8 (patch)
tree5690b7eedc0b7bf428ad68bcebcf1b5ac0d3264a /tcwg-benchmark.sh
parentd9dae9777271919239e9c1db91e37d10b81f4d35 (diff)
tcwg-benchmark.sh: Remove unused @hw_type@ substitution from $results_id
Change-Id: I6530286516fc131980e4379399ca0fff00883f8f
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 9cc82c10..55b097da 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -212,12 +212,9 @@ esac
# Slaves for this job are virtual slaves on dev-01,
# convert the slave name into the target board name
boardname=$(echo "${NODE_NAME}" | sed 's/-bmk//').tcwglab
-hw_type=$(print_hw_id_for_node "$NODE_NAME")
results_id=$(echo "$results_id" \
- | sed -e "s/<hw_type>/$hw_type/g" \
- -e "s/@hw_type@/$hw_type/g" \
- -e "s/<build_num>/$BUILD_NUMBER/g" \
+ | sed -e "s/<build_num>/$BUILD_NUMBER/g" \
-e "s/@build_num@/$BUILD_NUMBER/g")
if echo "$results_id" | grep -q "\.\."; then
echo "ERROR: results_id should not escape /home/tcwg-benchmark/results* hierarchy; do not use \"..\""