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

Unified Diff: build/android/pylib/gtest/test_sharder.py

Issue 12263024: Android: Add test runner scripts to run content_browsertests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually adding dispatch.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 side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/gtest/test_sharder.py
diff --git a/build/android/pylib/gtest/test_sharder.py b/build/android/pylib/gtest/test_sharder.py
index d7332cc16a70909da63c8b5cf479453fac405090..3ad740e60738646d0ebd7ba771d1b550c871563c 100644
--- a/build/android/pylib/gtest/test_sharder.py
+++ b/build/android/pylib/gtest/test_sharder.py
@@ -7,6 +7,7 @@ import logging
import os
from pylib import cmd_helper
+from pylib import constants
from pylib.base import base_test_sharder
from pylib.gtest import test_runner
@@ -68,7 +69,10 @@ class TestSharder(base_test_sharder.BaseTestSharder):
self.tool,
0,
self.build_type,
- self.in_webkit_checkout)
+ self.in_webkit_checkout,
+ 'org.chromium.native_test',
+ 'org.chromium.native_test.ChromeNativeTestActivity',
+ 'chrome-native-tests-command-line')
# The executable/apk needs to be copied before we can call GetAllTests.
runner.test_package.StripAndCopyExecutable()
all_tests = runner.test_package.GetAllTests()
@@ -101,4 +105,7 @@ class TestSharder(base_test_sharder.BaseTestSharder):
self.timeout,
self.cleanup_test_files, self.tool, index,
self.build_type,
- self.in_webkit_checkout)
+ self.in_webkit_checkout,
+ constants.GTEST_TEST_PACKAGE_NAME,
+ constants.GTEST_TEST_ACTIVITY_NAME,
+ constants.GTEST_COMMAND_LINE_FILE)

Powered by Google App Engine
This is Rietveld 408576698