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

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

Issue 22622004: [Android] Removes unused and deprecated flags in test_runner.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes other deprecated options Created 7 years, 4 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 4464d72d3dd65c6b5ed10bbc51ca13bcc946b77c..5e2b67ece86160100bd7b999cd803120e011dd62 100644
--- a/build/android/pylib/instrumentation/test_runner.py
+++ b/build/android/pylib/instrumentation/test_runner.py
@@ -126,8 +126,7 @@ class TestRunner(base_test_runner.BaseTestRunner):
logging.warning('Unable to enable java asserts for %s, non rooted device',
self.device)
else:
- if self.adb.SetJavaAssertsEnabled(
- enable=not self.options.disable_assertions):
+ if self.adb.SetJavaAssertsEnabled(True):
self.adb.Reboot(full_reboot=False)
# We give different default value to launch HTTP server based on shard index
« no previous file with comments | « build/android/pylib/instrumentation/test_options.py ('k') | build/android/pylib/uiautomator/test_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698