12345678910111213141516171819202122232425262728 |
- #!/bin/bash
- DEVICE_DIR="/data/local/tmp/dolphin-emu-tests"
- export MSYS_NO_PATHCONV=1
- export MSYS2_ARG_CONV_EXCL="*"
- for path in *; do
- f=$(basename "$path")
- adb push "$path" "$DEVICE_DIR/$f" && adb shell chmod 775 "$DEVICE_DIR/$f" && adb shell "$DEVICE_DIR/$f"
- RESULT=$(($RESULT+$?))
-
- adb shell rm "$DEVICE_DIR/$f"
- done
- echo ""
- echo "Total failed tests: $RESULT"
- exit $RESULT
|