Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: build/android/pylib/constants.py

Issue 12263024: Android: Add test runner scripts to run content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused browsertests/test_sharder.py Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Defines a set of constants shared by test runners and other scripts.""" 5 """Defines a set of constants shared by test runners and other scripts."""
6 6
7 import os 7 import os
8 8
9 9
10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), 10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__),
(...skipping 13 matching lines...) Expand all
24 24
25 CHROME_SHELL_PACKAGE = 'org.chromium.chrome.browser.test' 25 CHROME_SHELL_PACKAGE = 'org.chromium.chrome.browser.test'
26 26
27 CHROMIUM_TEST_SHELL_PACKAGE = 'org.chromium.chrome.testshell' 27 CHROMIUM_TEST_SHELL_PACKAGE = 'org.chromium.chrome.testshell'
28 CHROMIUM_TEST_SHELL_ACTIVITY = ( 28 CHROMIUM_TEST_SHELL_ACTIVITY = (
29 'org.chromium.chrome.testshell.ChromiumTestShellActivity') 29 'org.chromium.chrome.testshell.ChromiumTestShellActivity')
30 CHROMIUM_TEST_SHELL_DEVTOOLS_SOCKET = 'chromium_testshell_devtools_remote' 30 CHROMIUM_TEST_SHELL_DEVTOOLS_SOCKET = 'chromium_testshell_devtools_remote'
31 CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR = os.path.join( 31 CHROMIUM_TEST_SHELL_HOST_DRIVEN_DIR = os.path.join(
32 CHROME_DIR, 'chrome', 'android') 32 CHROME_DIR, 'chrome', 'android')
33 33
34 GTEST_TEST_PACKAGE_NAME = 'org.chromium.native_test'
35 GTEST_TEST_AVTICITY_NAME = 'org.chromium.native_test.ChromeNativeTestActivity'
36 GTEST_COMMAND_LINE_FILE = 'chrome-native-tests-command-line'
37
38 BROWSERTEST_TEST_PACKAGE_NAME = 'org.chromium.content_browsertests_apk'
39 BROWSERTEST_TEST_ACTIVITY_NAME = (
40 'org.chromium.content_browsertests_apk.ContentBrowserTestsActivity')
41 BROWSERTEST_COMMAND_LINE_FILE = 'content-browser-tests-command-line'
42
34 # Ports arrangement for various test servers used in Chrome for Android. 43 # Ports arrangement for various test servers used in Chrome for Android.
35 # Lighttpd server will attempt to use 9000 as default port, if unavailable it 44 # Lighttpd server will attempt to use 9000 as default port, if unavailable it
36 # will find a free port from 8001 - 8999. 45 # will find a free port from 8001 - 8999.
37 LIGHTTPD_DEFAULT_PORT = 9000 46 LIGHTTPD_DEFAULT_PORT = 9000
38 LIGHTTPD_RANDOM_PORT_FIRST = 8001 47 LIGHTTPD_RANDOM_PORT_FIRST = 8001
39 LIGHTTPD_RANDOM_PORT_LAST = 8999 48 LIGHTTPD_RANDOM_PORT_LAST = 8999
40 TEST_SYNC_SERVER_PORT = 9031 49 TEST_SYNC_SERVER_PORT = 9031
41 50
42 # The net test server is started from 10000. Reserve 20000 ports for the all 51 # The net test server is started from 10000. Reserve 20000 ports for the all
43 # test-server based tests should be enough for allocating different port for 52 # test-server based tests should be enough for allocating different port for
(...skipping 13 matching lines...) Expand all
57 # The directory on the device where perf test output gets saved to. 66 # The directory on the device where perf test output gets saved to.
58 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' 67 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files'
59 68
60 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') 69 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots')
61 70
62 ANDROID_SDK_VERSION = 17 71 ANDROID_SDK_VERSION = 17
63 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') 72 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk')
64 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') 73 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk')
65 74
66 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' 75 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698