Use the environment variable Xtensa core in micro unit tests instead of hard coding.
PiperOrigin-RevId: 287561956 Change-Id: I0a365eb78cccf17430a195af2b83a063869855dd
This commit is contained in:
parent
8582c7cfee
commit
da6e7957c7
@ -26,8 +26,7 @@ declare -r MICRO_LOG_PATH=${TEST_TMPDIR}/$1
|
||||
declare -r MICRO_LOG_FILENAME=${MICRO_LOG_PATH}/logs.txt
|
||||
mkdir -p ${MICRO_LOG_PATH}
|
||||
|
||||
# TODO(kreeger): Enable the ability to pass a different core:
|
||||
xt-run --xtensa-core=hifi3_bd5 $1 2>&1 | tee ${MICRO_LOG_FILENAME}
|
||||
xt-run --xtensa-core=${XTENSA_CORE} $1 2>&1 | tee ${MICRO_LOG_FILENAME}
|
||||
|
||||
if grep -q "$2" ${MICRO_LOG_FILENAME}
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user