]> git.gag.com Git - fw/altos/blob - ao-bringup/test-igniters
altos/stmf0: Add lisp to include directories
[fw/altos] / ao-bringup / test-igniters
1 #!/bin/sh
2
3 dev="$1"
4 shift
5
6 for igniter in "$@"; do
7         pass="n"
8         while [ $pass != "y" ]; do
9                 echo -n "Testing $igniter igniter. Press enter to continue..."
10                 read foo < /dev/tty
11                 ../ao-tools/ao-test-igniter/ao-test-igniter --tty="$dev" $igniter
12
13                 case $? in
14                     0)
15                         echo "pass"
16                         pass="y"
17                         ;;
18                     *)
19                         echo "Failed. Try again."
20                         ;;
21                 esac
22         done
23 done
24
25 exit 0