add full path
Some checks failed
Build / host (ubuntu-latest) (push) Failing after 11s
Build / firmware (HACKRF_ONE, ubuntu-latest) (push) Failing after 29s
Build / firmware (JAWBREAKER, ubuntu-latest) (push) Failing after 29s
Check code style / clang-format (push) Failing after 7s
Check code style / clang-format-1 (push) Failing after 5s
Build / firmware (RAD1O, ubuntu-latest) (push) Failing after 32s
Check code style / clang-format-2 (push) Failing after 10s
Check code style / clang-format-3 (push) Failing after 8s
Build / firmware (JAWBREAKER, macos-latest) (push) Has been cancelled
Build / firmware (RAD1O, macos-latest) (push) Has been cancelled
Build / host (macos-latest) (push) Has been cancelled
Build / firmware (HACKRF_ONE, macos-latest) (push) Has been cancelled

This commit is contained in:
Michael Ossmann 2022-09-28 18:36:16 -04:00
parent cb9b7c0b14
commit 0299f70a36

View file

@ -1,7 +1,8 @@
#!/bin/bash
echo "Single-device hackrf_transfer tests:"
echo "Testing single sample transmit: -c0"
timeout -s2 -k1 2 hackrf_transfer -a0 -x0 -c0 -n1 >/tmp/stdout.$$ 2>/tmp/stderr.$$
COMMAND=host/build/hackrf-tools/src/hackrf_transfer
timeout -s2 -k1 2 ${COMMAND} -a0 -x0 -c0 -n1 >/tmp/stdout.$$ 2>/tmp/stderr.$$
EXIT_CODE="$?"
if [ "$EXIT_CODE" == "124" ]
then