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

Unified Diff: build/android/pylib/constants.py

Issue 660023002: [Android] Test runner for python unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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
« no previous file with comments | « build/android/buildbot/bb_run_bot.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index f54d49836b8b1c2f9d1e5a1225a86d8338070218..f6edfedcc352d30e340f9cb7f678a0804f1de9cf 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -182,6 +182,23 @@ UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'
DEVICE_LOCAL_PROPERTIES_PATH = '/data/local.prop'
+PYTHON_UNIT_TEST_SUITES = {
+ 'pylib_py_unittests': {
+ 'path': os.path.join(DIR_SOURCE_ROOT, 'build', 'android'),
+ 'test_modules': [
+ 'pylib.device.device_utils_test',
+ ]
+ },
+# TODO(mkosiba) Enable after fixing these tests.
+# 'gyp_py_unittests': {
+# 'path': os.path.join(constants.DIR_SOURCE_ROOT, 'build', 'android', 'gyp'),
+# 'test_modules': [
+# 'java_cpp_enum_tests'
+# ]
+# },
+}
+
+
def GetBuildType():
try:
return os.environ['BUILDTYPE']
« no previous file with comments | « build/android/buildbot/bb_run_bot.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698