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

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

Issue 1680233002: Android Add _incremental targets for instrumentation tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/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 ce5af45b79b32dee080f6b672b3e504ef3b15e43..e7bd230d5f225c0687c4afde20e1f481438c45b3 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -138,12 +138,14 @@ class GtestTestInstance(test_instance.TestInstance):
self._skip_clear_data = args.skip_clear_data
self._suite = args.suite_name[0]
- incremental_part = '_incremental' if args.incremental_install else ''
+ self._exe_path = os.path.join(constants.GetOutDirectory(),
+ self._suite)
+
+ incremental_part = '_incremental' if args.test_apk_install_script else ''
apk_path = os.path.join(
constants.GetOutDirectory(), '%s_apk' % self._suite,
'%s-debug%s.apk' % (self._suite, incremental_part))
- self._exe_path = os.path.join(constants.GetOutDirectory(),
- self._suite)
+ self._test_apk_install_script = args.test_apk_install_script
if not os.path.exists(apk_path):
self._apk_helper = None
else:
@@ -257,6 +259,10 @@ class GtestTestInstance(test_instance.TestInstance):
return self._suite
@property
+ def test_apk_install_script(self):
jbudorick 2016/02/09 20:08:26 Hm. These don't really belong in the test_instance
+ return self._test_apk_install_script
+
+ @property
def test_arguments(self):
return self._test_arguments

Powered by Google App Engine
This is Rietveld 408576698