separate out chrome tests since they require a different emu

This commit is contained in:
Jonathan Lipps
2014-04-15 13:06:11 -07:00
parent 8a784812da
commit 356b7f9df6
2 changed files with 15 additions and 2 deletions
+14 -1
View File
@@ -6,6 +6,7 @@ ios6_only=false
ios7_only=false
ios71_only=false
android_only=false
android_arm_only=false
selendroid_only=false
all_tests=true
xcode_path=""
@@ -21,6 +22,9 @@ for arg in "$@"; do
elif [ "$arg" = "--android" ]; then
android_only=true
all_tests=false
elif [ "$arg" = "--android-arm" ]; then
android_arm_only=true
all_tests=false
elif [ "$arg" = "--selendroid" ]; then
selendroid_only=true
all_tests=false
@@ -78,7 +82,16 @@ fi
if $android_only || $all_tests; then
echo "RUNNING ANDROID TESTS"
echo "---------------------"
DEVICE=android time $appium_mocha -g '@skip-android-all' -i \
DEVICE=android time $appium_mocha \
-g '@skip-android-all|@android-arm-only' -i \
test/functional/common \
test/functional/android
fi
if $android_arm_only; then
echo "RUNNING ANDROID (ARM) TESTS"
echo "---------------------"
DEVICE=android time $appium_mocha -g '@android-arm-only' \
test/functional/common \
test/functional/android
fi
+1 -1
View File
@@ -1,6 +1,6 @@
"use strict";
process.env.DEVICE = process.env.DEVICE || "android";
describe("chrome", function () {
describe("chrome - @android-arm-only -", function () {
require('../common/webview-base')('chromium');
});