Move flutter_gallery to the testing folder (#52532)
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery.
This commit is contained in:
19
dev/integration_tests/flutter_gallery/tool/run_instrumentation_test.sh
Executable file
19
dev/integration_tests/flutter_gallery/tool/run_instrumentation_test.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user