simpler script

This commit is contained in:
drowe67 2021-12-15 06:47:36 +10:30 committed by David Rowe
parent dee3f87ceb
commit eeb221a31b

View file

@ -18,8 +18,8 @@ RX_LOG=$(mktemp)
# make sure all child processes are killed when we exit
trap 'jobs -p | xargs -r kill' EXIT
python3 test_rx.py --mode datac0 --frames 2 --bursts 1 --audiodev 4 --debug 2>&1 | tee ${RX_LOG} &
python3 test_rx.py --mode datac0 --frames 2 --bursts 1 --audiodev 4 --debug &
rx_pid=$!
sleep 1
python3 test_tx.py --mode datac0 --frames 2 --bursts 1 --audiodev 5
tail -f ${RX_LOG} | sed '/RECEIVED BURSTS/ q'
wait ${rx_pid}