scripts/qemu-check.sh: add set -e

qemu always times out and fails, ignore that.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2020-05-21 17:51:21 -07:00 committed by Liam Girdwood
parent 454b2b1f43
commit 428804e1cb
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation. All rights reserved. # Copyright(c) 2018 Intel Corporation. All rights reserved.
set -e
SUPPORTED_PLATFORMS=(byt cht bdw hsw apl icl skl kbl cnl imx8 imx8x imx8m) SUPPORTED_PLATFORMS=(byt cht bdw hsw apl icl skl kbl cnl imx8 imx8x imx8m)
READY_MSG="6c 00 00 00 00 00 00 70" READY_MSG="6c 00 00 00 00 00 00 70"
@ -153,7 +154,7 @@ do
${xtensa_host_sh} "$PLATFORM" -k \ ${xtensa_host_sh} "$PLATFORM" -k \
"${SOF_BUILDS}"/build_"${platform}"_gcc/src/arch/xtensa/"$FWNAME" \ "${SOF_BUILDS}"/build_"${platform}"_gcc/src/arch/xtensa/"$FWNAME" \
$ROM \ $ROM \
-o 2.0 "${SOF_BUILDS}"/dump-"$platform".txt -o 2.0 "${SOF_BUILDS}"/dump-"$platform".txt || true # timeout
# dump log into sof.git incase running in docker # dump log into sof.git incase running in docker
# use regular expression to match the SHM IPC REG file name # use regular expression to match the SHM IPC REG file name