Index: scripts/slave/recipe_modules/cronet/api.py |
diff --git a/scripts/slave/recipe_modules/cronet/api.py b/scripts/slave/recipe_modules/cronet/api.py |
index 0391cd103c73f1cf4dedffe42f2b7bcdbc48ea40..543c68e69156d7d01afa14dcc98f5cf6c8db473b 100644 |
--- a/scripts/slave/recipe_modules/cronet/api.py |
+++ b/scripts/slave/recipe_modules/cronet/api.py |
@@ -14,24 +14,10 @@ class CronetApi(recipe_api.RecipeApi): |
INSTRUMENTATION_TESTS = freeze([ |
{ |
jbudorick
2016/04/05 14:29:29
can we simply turn this into a list of strings ins
agrieve
2016/04/05 14:45:49
No. Because of downstream (unless we used isinstan
jbudorick
2016/04/05 15:14:58
right, I forgot about the downstream cronet bots.
|
- 'test': 'CronetSampleTest', |
- 'gyp_target': 'cronet_sample_test_apk', |
- 'apk_under_test': 'CronetSample.apk', |
- 'test_apk': 'CronetSampleTest.apk', |
- 'additional_apks': [ |
- 'ChromiumNetTestSupport.apk', |
- ], |
+ 'target': 'cronet_sample_test_apk', |
}, |
{ |
- 'test': 'CronetTestInstrumentation', |
- 'gyp_target': 'cronet_test_instrumentation_apk', |
- 'apk_under_test': 'CronetTest.apk', |
- 'test_apk': 'CronetTestInstrumentation.apk', |
- 'additional_apks': [ |
- 'ChromiumNetTestSupport.apk', |
- ], |
- 'isolate_file_path': |
- 'components/cronet/android/cronet_test_instrumentation_apk.isolate', |
+ 'target': 'cronet_test_instrumentation_apk', |
}, |
]) |
@@ -111,12 +97,7 @@ class CronetApi(recipe_api.RecipeApi): |
droid.run_test_suite(suite, shard_timeout=180) |
for suite in instrumentation_tests: |
droid.run_instrumentation_suite( |
- name=suite['test'], |
- apk_under_test=droid.apk_path(suite.get('apk_under_test')), |
- test_apk=droid.apk_path(suite.get('test_apk')), |
- additional_apks=[ |
- droid.apk_path(a) for a in suite.get('additional_apks') or ()], |
- isolate_file_path=suite.get('isolate_file_path'), |
+ name=suite['target'], |
verbose=True, |
num_retries=0, |
**suite.get('kwargs', {})) |