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

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

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/pylib/gtest/gtest_config.py ('k') | build/android/pylib/instrumentation/test_jar.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/gtest_test_instance.py
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py
index 1e8769310e7d797dc0d872e01a1b0972d31e9551..f4623e414a3e5719f6aba7a9de4fb1ff98c3b685 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -42,9 +42,12 @@ class GtestTestInstance(test_instance.TestInstance):
def __init__(self, options, isolate_delegate):
super(GtestTestInstance, self).__init__()
+ # TODO(jbudorick): Support multiple test suites.
+ if len(options.suite_name) > 1:
+ raise ValueError('Platform mode currently supports only 1 gtest suite')
self._apk_path = os.path.join(
- constants.GetOutDirectory(), '%s_apk' % options.suite_name,
- '%s-debug.apk' % options.suite_name)
+ constants.GetOutDirectory(), '%s_apk' % options.suite_name[0],
+ '%s-debug.apk' % options.suite_name[0])
self._data_deps = []
self._gtest_filter = options.test_filter
if options.isolate_file_path:
« no previous file with comments | « build/android/pylib/gtest/gtest_config.py ('k') | build/android/pylib/instrumentation/test_jar.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698