mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

* add Android instrumentation test * add devicelab test * add to manifest.yaml * rename _smoke_test.dart to _smoketest.dart to prevent flutter test from picking it up * volatile fields; style fixes * use ConditionVariable; fix sh script
16 lines
389 B
Bash
Executable File
16 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ ! -f "./pubspec.yaml" ]; then
|
|
echo "ERROR: current directory must be the root of flutter_gallery package"
|
|
exit 1
|
|
fi
|
|
|
|
cd android
|
|
|
|
# Currently there's no non-hacky way to pass a device ID to gradlew, but it's
|
|
# OK as in the devicelab we have one device per host.
|
|
#
|
|
# See also: https://goo.gl/oe5aUW
|
|
./gradlew connectedAndroidTest -Ptarget=test/live_smoketest.dart
|