Lines Matching +full:twister +full:- +full:out

2 # Copyright (c) 2022-2024 Intel Corporation
3 # SPDX-License-Identifier: Apache-2.0
4 set -e
6 # Twister integration tool for a remote ssh-accessible cAVS audio DSP
8 # hook for both --device-serial-pty and --west-flash, for example:
15 # twister -p intel_adsp/cavs25 --device-testing \
16 # --device-serial-pty=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh \
17 # --west-flash=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh
19 # The CAVS_OLD_FLASHER is necessary because now the client-server-based
21 # the misc-flasher as the runner. Please remember to do the command
23 # client-server-based intel_adsp runner.
25 # The device at CAVS_HOST must be accessible via non-interactive ssh
26 # access and the remote account must have password-free sudo ability.
31 # to be using the SOF-curated "community" keys. Note that cAVS 2.5
34 # CAVS_RIMAGE must be the path to a current, checked out and built (!)
44 # Twister has frustrating runtime behavior with this device. The
52 # pull old data (from the last test run!) out of the buffer and
53 # confuse twister.
62 # And notice the race protection: it's possible twister will run a
71 # environment because this script is launched from twister.
73 if [ -z "$CAVS_HOST" -o -z "$CAVS_KEY" -o -z "$CAVS_RIMAGE" ]; then
88 # Twister --device-serial-pty mode
96 # Twister --west-flash mode
103 while [ -e $IMAGE ]; do
110 west sign --tool-data=$CAVS_RIMAGE/config -t rimage -- -k $CAVS_KEY)
115 while [ ! -e $IMAGE ]; do
123 rm -f $IMAGE2
125 # Twister seems to overlap tests by a tiny bit, and of course the
129 ssh ssh://$CAVS_HOST "sudo pkill -9 -f cavstool" ||: