diff options
Diffstat (limited to 'ao-bringup')
-rwxr-xr-x | ao-bringup/test-easymini | 2 | ||||
-rwxr-xr-x | ao-bringup/test-igniters-nowait | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/ao-bringup/test-easymini b/ao-bringup/test-easymini index 7850b550..ddcfcd54 100755 --- a/ao-bringup/test-easymini +++ b/ao-bringup/test-easymini @@ -21,7 +21,7 @@ while [ $found -eq 0 ]; do echo -e '\e[34m'Testing $product $serial $dev'\e[39m' echo "" - ./test-igniters "$dev" drogue main + ./test-igniters-nowait "$dev" drogue main echo "" echo "Testing baro sensor" diff --git a/ao-bringup/test-igniters-nowait b/ao-bringup/test-igniters-nowait new file mode 100755 index 00000000..849f91de --- /dev/null +++ b/ao-bringup/test-igniters-nowait @@ -0,0 +1,26 @@ +#!/bin/sh + +dev="$1" +shift + +for igniter in "$@"; do + pass="n" + while [ $pass != "y" ]; do + + echo "Testing $igniter igniter." + ../ao-tools/ao-test-igniter/ao-test-igniter --tty="$dev" $igniter + + case $? in + 0) + echo "pass" + pass="y" + ;; + *) + echo -n "Failed. Try again. Press enter to continue..." + read foo < /dev/tty + ;; + esac + done +done + +exit 0 |