"$PRODUCT-v$VERSION")
echo "Testing $product $serial $dev"
-
- echo "Testing igniters. Both should flash"
- ./test-igniter "$dev" drogue main
-
- case $? in
- 0)
- ;;
- *)
- echo "failed"
- exit 1
- esac
+ echo ""
+
+ ./test-igniters "$dev" drogue main
+ echo ""
echo "Testing baro sensor"
- ./test-baro "$dev"
+ ../ao-tools/ao-test-baro/ao-test-baro --tty="$dev"
case $? in
0)
echo "failed"
exit 1
esac
+ echo""
FLASHSIZE=1048576
echo "Testing flash"
- ./test-flash "$dev" "$FLASHSIZE"
+ ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
case $? in
0)
echo "failed"
exit 1
esac
+ echo""
echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
ret=0
;;
- *)
- echo "Skipping $product $serial $dev"
- ;;
esac
done