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

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

Issue 1126543009: [Android] Refactor the native test wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_runner.py
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py
index 49263888c34aeb7f4b2816dedda6f3b32688d6fa..caff4c9b5b73cb49cc761a246aae821bfcfa76a9 100644
--- a/build/android/pylib/gtest/test_runner.py
+++ b/build/android/pylib/gtest/test_runner.py
@@ -11,6 +11,7 @@ from pylib import ports
from pylib.base import base_test_result
from pylib.base import base_test_runner
from pylib.device import device_errors
+from pylib.gtest import gtest_test_instance
from pylib.local import local_test_server_spawner
from pylib.perf import perf_control
@@ -59,6 +60,9 @@ class TestRunner(base_test_runner.BaseTestRunner):
self.test_package = test_package
self.test_package.tool = self.tool
self._test_arguments = test_options.test_arguments
+ if self.test_package.suite_name in gtest_test_instance.BROWSER_TEST_SUITES:
+ self._test_arguments += (
+ ' ' + ' '.join(gtest_test_instance.BROWSER_TEST_FLAGS))
timeout = test_options.timeout
if timeout == 0:

Powered by Google App Engine
This is Rietveld 408576698