summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-05-25 08:56:57 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-05-25 08:56:57 +0000
commit1ebe1833f3506b2ab9b2131aa7041faea7b67204 (patch)
treef34fd12fdfb8098aa9d1f26f6d2d708f0da5da59 /tcwg-benchmark.sh
parent3ad6b00b1b104e074fc0f2b16d15d0a9bf39dc8f (diff)
tcwg-benchmark.sh: Remove ugly workaround
... for lacking "sudo" access on the benchmarking boards. /usr/local/bin/benchmark.sh was the only command we could run as root on the benchmarking boards, and now, with switch to "host" containers, we finally have blanket sudo. Change-Id: Ifc20b360ce68dd0315b6684055be175efc4e6805
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-xtcwg-benchmark.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 7c9fd544..844840aa 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -358,7 +358,7 @@ if $prepare_board; then
# check that there are no stray processes
# test that taskset works
remote_exec "$boardname:::-t -Snone" \
- sudo /usr/local/bin/benchmark.sh --hw_tag "$hw_tag" \
+ sudo bmk-scripts/prepare-board.sh --hw_tag "$hw_tag" \
--action start_board --verbose &
res=0 && wait $! || res=$?
@@ -429,7 +429,7 @@ esac
if $prepare_board; then
remote_exec "$boardname:::-t -Snone" \
- sudo /usr/local/bin/benchmark.sh --action stop_board --verbose &
+ sudo bmk-scripts/prepare-board.sh --action stop_board --verbose &
res=0 && wait $! || res=$?
if [ $res != 0 ]; then
echo "Warning: prepare-board.sh did not finish cleanly"