5 BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
7 echo "$PRODUCT-v$VERSION Test Program"
8 echo "Copyright 2022 by Bdale Garbee. Released under GPL v3"
11 echo "\t$PRODUCT v$VERSION powered from USB"
12 echo "\t\tand precision 2:1 resistor divider feeding pressure input from 5V out"
16 ao-list | while read product serial dev; do
20 echo "Testing $product $serial $dev"
26 ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
30 echo "Testing pressure sensor input"
31 ../ao-tools/ao-test-pressure/ao-test-pressure --tty="$dev"
42 echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship