commit | d8849267d5e2894047e257810208b6dad98a08cb | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Fri Mar 29 15:09:43 2024 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Fri Mar 29 15:09:43 2024 -0700 |
tree | b6647bd520b08b30ddaab8b220d05dfc76f2bb18 | |
parent | a1e166f630082e56a53528d600c93fa76375b047 [diff] |
Fix hw test script to support extra flags Change-Id: Ib2dbb2d75ad1c996dada9447026d13b97e60ae3e
diff --git a/build_tools/core_sim_test_runner.sh b/build_tools/core_sim_test_runner.sh index 1227143..eb3ad5a 100755 --- a/build_tools/core_sim_test_runner.sh +++ b/build_tools/core_sim_test_runner.sh
@@ -35,14 +35,14 @@ exit 1 fi -if (( $# != 1 )); then +if (( $# < 1 )); then print_usage exit 1 fi BIN_FILE=$(realpath $1) shift 1 -SIM_OUT=$(${CORE_SIM} "${BIN_FILE}" $@ "${EXTRA_FLAGS}") +SIM_OUT=$(${CORE_SIM} "${BIN_FILE}" $@) RESULT=$? echo "${SIM_OUT}"