summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtcwg-benchmark.sh41
1 files changed, 16 insertions, 25 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index a544a5f0..fbb49111 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -71,13 +71,6 @@ case "$toolchain_url" in
echo "ERROR: ssh:// toolchain_url lacks a port: $toolchain_url."
exit 1
fi
-
- # Create a helper function, like we have when we create a
- # container.
- build_container_exec ()
- {
- remote_exec "${build}:$(pwd)" "$@"
- }
;;
*)
# Make sure to cleanup build container if something goes
@@ -246,21 +239,19 @@ case "$testmode" in
benchmark) input_size="ref" ;;
esac
-build_container_exec ssh -t "$boardname" bmk-scripts/run.sh \
- --bench "$(printf '%q' "$bench_list")" \
- --config "${BUILD_NUMBER}-$run_profile" \
- --cflags "$(printf '%q' "$cflags")" \
- --ccprefix "$ccprefix" \
- --extension "$extension" \
- --ignore_errors "$ignore_errors" \
- --input_size "$input_size" \
- --iterations "$iterations" \
- --run_profile "$run_profile" \
- "${sysroot:+--sysroot "$sysroot"}" \
- --toolchain "$toolchain_type" \
- --resultsdest "dev-01.tcwglab:/home/tcwg-benchmark/results-${results_id}/${NODE_NAME}" \
- --nodename "${NODE_NAME}" \
- --forceinstall "${forceinstall}" \
- --verbose true
-
-exit 0
+ssh -t -Snone "$boardname" bmk-scripts/run.sh \
+ --bench "$(printf '%q' "$bench_list")" \
+ --config "${BUILD_NUMBER}-$run_profile" \
+ --cflags "$(printf '%q' "$cflags")" \
+ --ccprefix "$ccprefix" \
+ --extension "$extension" \
+ --ignore_errors "$ignore_errors" \
+ --input_size "$input_size" \
+ --iterations "$iterations" \
+ --run_profile "$run_profile" \
+ "${sysroot:+--sysroot "$sysroot"}" \
+ --toolchain "$toolchain_type" \
+ --resultsdest "dev-01.tcwglab:/home/tcwg-benchmark/results-${results_id}/${NODE_NAME}" \
+ --nodename "${NODE_NAME}" \
+ --forceinstall "${forceinstall}" \
+ --verbose true