Merge "Add Support for Profiling TFLM Models in Benchmarks"
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}"