diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-05-25 08:56:57 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-05-25 08:56:57 +0000 |
commit | 1ebe1833f3506b2ab9b2131aa7041faea7b67204 (patch) | |
tree | f34fd12fdfb8098aa9d1f26f6d2d708f0da5da59 /tcwg-benchmark.sh | |
parent | 3ad6b00b1b104e074fc0f2b16d15d0a9bf39dc8f (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-x | tcwg-benchmark.sh | 4 |
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" |