Index: pkg/polymer/lib/elements/web-animations-js/run-tests-android.sh |
diff --git a/pkg/polymer/lib/elements/web-animations-js/run-tests-android.sh b/pkg/polymer/lib/elements/web-animations-js/run-tests-android.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..0fb1be82dab0f945f305752b51b99ac635edc1b5 |
--- /dev/null |
+++ b/pkg/polymer/lib/elements/web-animations-js/run-tests-android.sh |
@@ -0,0 +1,19 @@ |
+#! /bin/bash |
+ |
+# Update git submodules |
+git submodule init |
+git submodule update |
+ |
+# Set up the android environment |
+source tools/android/setup.sh |
+ |
+cat > load-list.txt <<EOF |
+^[a].* |
+EOF |
+./run-tests.sh -b Remote --remote-executor http://localhost:9515 --remote-caps="chromeOptions=androidPackage=$CHROME_APP" --load-list load-list.txt --verbose || exit 1 |
+cat > load-list.txt <<EOF |
+^[^a].* |
+EOF |
+./run-tests.sh -b Remote --remote-executor http://localhost:9515 --remote-caps="chromeOptions=androidPackage=$CHROME_APP" --load-list load-list.txt --verbose || exit 1 |
+ |
+echo "Run $ANDROID_DIR/stop.sh if finished." |