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

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

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/instrumentation/test_runner.py
diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py
index fe444e91eff736124525fbbf34ea53f6d69cd2c6..a86b5ceae419ea3ad1be528364217220c7cb912b 100644
--- a/build/android/pylib/instrumentation/test_runner.py
+++ b/build/android/pylib/instrumentation/test_runner.py
@@ -93,7 +93,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
logging.warning('Unable to enable java asserts for %s, non rooted device',
str(self.device))
else:
- if self.device.SetJavaAsserts(True):
+ if self.device.SetJavaAsserts(self.options.set_asserts):
# TODO(jbudorick) How to best do shell restart after the
# android_commands refactor?
self.device.RunShellCommand('stop')

Powered by Google App Engine
This is Rietveld 408576698