summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authornavabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-14 01:09:12 +0000
committernavabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-14 01:09:12 +0000
commit13ce8227e4daff67846117d7668c72339e0fd7bc (patch)
tree9edbfe9933d28cc54af1c9ddf24b47db5ff62ece /build
parent16a517a6ecce784f00c6c014fd68c003509b39db (diff)
downloadchromium_src-13ce8227e4daff67846117d7668c72339e0fd7bc.zip
chromium_src-13ce8227e4daff67846117d7668c72339e0fd7bc.tar.gz
chromium_src-13ce8227e4daff67846117d7668c72339e0fd7bc.tar.bz2
Run simple content shell test on Android bots.
BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10689168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/buildbot_functions.sh7
-rwxr-xr-xbuild/android/buildbot_fyi.sh1
-rwxr-xr-xbuild/android/buildbot_fyi_tester.sh1
-rwxr-xr-xbuild/android/buildbot_try_compile_test.sh1
-rwxr-xr-xbuild/android/buildbot_try_tester.sh1
5 files changed, 11 insertions, 0 deletions
diff --git a/build/android/buildbot_functions.sh b/build/android/buildbot_functions.sh
index 0e3320c..b9f1978 100755
--- a/build/android/buildbot_functions.sh
+++ b/build/android/buildbot_functions.sh
@@ -250,6 +250,13 @@ function bb_run_tests {
build/android/run_tests.py --xvfb --verbose
}
+# Run simple content shell test on device.
+function bb_run_content_shell_test {
+ echo "@@@BUILD_STEP Run simple content shell test on actual hardware@@@"
+ content/shell/android/simple_content_shell_test.sh \
+ "${SRC_ROOT}"/out/Release/content_shell/ContentShell-debug.apk
+}
+
# Zip and archive a build.
function bb_zip_build {
echo "@@@BUILD_STEP Zip build@@@"
diff --git a/build/android/buildbot_fyi.sh b/build/android/buildbot_fyi.sh
index 5a48c9a..10d1ebc 100755
--- a/build/android/buildbot_fyi.sh
+++ b/build/android/buildbot_fyi.sh
@@ -16,4 +16,5 @@ bb_baseline_setup "$BB_SRC_ROOT" "$@"
bb_install_build_deps "$BB_SRC_ROOT"
bb_compile
bb_compile_experimental
+bb_run_content_shell_test
bb_run_tests
diff --git a/build/android/buildbot_fyi_tester.sh b/build/android/buildbot_fyi_tester.sh
index 91e758c..d9c8de7 100755
--- a/build/android/buildbot_fyi_tester.sh
+++ b/build/android/buildbot_fyi_tester.sh
@@ -15,4 +15,5 @@ BB_SRC_ROOT="$(cd "$(dirname $0)/../.."; pwd)"
bb_baseline_setup "$BB_SRC_ROOT" "$@"
bb_install_build_deps "$BB_SRC_ROOT"
bb_extract_build
+bb_run_content_shell_test
bb_run_tests
diff --git a/build/android/buildbot_try_compile_test.sh b/build/android/buildbot_try_compile_test.sh
index 827c3e3..4ae6157 100755
--- a/build/android/buildbot_try_compile_test.sh
+++ b/build/android/buildbot_try_compile_test.sh
@@ -15,4 +15,5 @@ ROOT=$(cd "$(dirname $0)"; pwd)
bb_baseline_setup "${ROOT}"/../..
bb_install_build_deps "${ROOT}"/../..
bb_compile
+bb_run_content_shell_test
bb_run_tests
diff --git a/build/android/buildbot_try_tester.sh b/build/android/buildbot_try_tester.sh
index 4d99b7f..9c81d0b 100755
--- a/build/android/buildbot_try_tester.sh
+++ b/build/android/buildbot_try_tester.sh
@@ -15,4 +15,5 @@ BB_SRC_ROOT="$(cd "$(dirname $0)/../.."; pwd)"
bb_baseline_setup "$BB_SRC_ROOT" "$@"
bb_install_build_deps "$BB_SRC_ROOT"
bb_extract_build
+bb_run_content_shell_test
bb_run_tests