FLASHSIZE=2097152
echo "Testing flash"
- ./test-flash "$dev" "$FLASHSIZE"
+ ../ao-tools/ao-test-flash/ao-test-flash --tty="$dev" "$FLASHSIZE"
case $? in
0)
esac
echo "Testing GPS"
- ./test-gps "$dev"
+ ../ao-tools/ao-test-gps/ao-test-gps --tty="$dev"
case $? in
0)
exit 1
esac
- echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
+ echo "$PRODUCT-v$VERSION" serial "$serial" passed functional tests
ret=0
;;
*)