Files
2019-10-11 16:15:55 -07:00

25 lines
581 B
Bash
Executable File

#!/bin/sh
# Copyright 2013 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.
# Runs the Android scenario tests on a connected device.
set -e
FLUTTER_ENGINE=android_profile_unopt_arm64
if [ $# -eq 1 ]; then
FLUTTER_ENGINE=$1
fi
cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
./compile_android_aot.sh ../../../out/host_profile_unopt_arm64 ../../../out/$FLUTTER_ENGINE/clang_x64
pushd android
set -o pipefail && ./gradlew assembleAndroidTest && ./gradlew connectedAndroidTest
popd