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

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

Issue 1836883002: [Android] Switch instrumentation tests to platform mode. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update CommandLineInitUtilTest Created 4 years, 9 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/instrumentation_test_instance.py
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py
index 613b778d1fab4acd5bf281ca67a2e7fa04b71c8f..62d64b140222b6bf2434f6997f7df96eeb558769 100644
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
@@ -290,7 +290,11 @@ class InstrumentationTestInstance(test_instance.TestInstance):
def _initializeDataDependencyAttributes(self, args, isolate_delegate):
self._data_deps = []
if args.isolate_file_path:
- self._isolate_abs_path = os.path.abspath(args.isolate_file_path)
+ if os.path.isabs(args.isolate_file_path):
+ self._isolate_abs_path = args.isolate_file_path
+ else:
+ self._isolate_abs_path = os.path.join(
+ constants.DIR_SOURCE_ROOT, args.isolate_file_path)
self._isolate_delegate = isolate_delegate
self._isolated_abs_path = os.path.join(
constants.GetOutDirectory(), '%s.isolated' % self._test_package)
@@ -340,7 +344,7 @@ class InstrumentationTestInstance(test_instance.TestInstance):
})
def _initializeFlagAttributes(self, args):
- self._flags = ['--disable-fre', '--enable-test-intents']
+ self._flags = ['--enable-test-intents']
# TODO(jbudorick): Transition "--device-flags" to "--device-flags-file"
if hasattr(args, 'device_flags') and args.device_flags:
with open(args.device_flags) as device_flags_file:

Powered by Google App Engine
This is Rietveld 408576698