File tree 1 file changed +22
-0
lines changed
packages/google_maps_flutter/google_maps_flutter/example
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/bash
2
+ # Copyright 2013 The Flutter Authors. All rights reserved.
3
+ # Use of this source code is governed by a BSD-style license that can be
4
+ # found in the LICENSE file.
5
+
6
+ if pgrep -lf chromedriver > /dev/null; then
7
+ echo " chromedriver is running."
8
+
9
+ if [ $# -eq 0 ]; then
10
+ echo " No target specified, running all tests..."
11
+ find integration_test/ -iname * _test.dart | xargs -n1 -i -t flutter drive -d web-server --web-port=7357 --browser-name=chrome --driver=test_driver/integration_test.dart --target=' {}'
12
+ else
13
+ echo " Running test target: $1 ..."
14
+ set -x
15
+ flutter drive -d web-server --web-port=7357 --browser-name=chrome --driver=test_driver/integration_test.dart --target=$1
16
+ fi
17
+
18
+ else
19
+ echo " chromedriver is not running."
20
+ echo " Please, check the README.md for instructions on how to use run_test.sh"
21
+ fi
22
+
You can’t perform that action at this time.
0 commit comments