5 BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
7 echo "$PRODUCT-v$VERSION Test Program"
8 echo "Copyright 2020 by Bdale Garbee. Released under GPL v3"
11 echo "\t$PRODUCT v$VERSION powered from USB"
15 ao-list | while read product serial dev; do
19 echo "Testing $product $serial $dev"
21 ./test-igniters $dev --rplus=100 --rminus=27 --adcmax=4095 main drogue 3 0 1 2
24 echo "Testing baro sensor"
25 ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev"
39 ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
51 ../ao-tools/ao-test-gps/ao-test-gps --tty="$dev"
62 echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship