Merge "Update service test runner to allow test args"

am: 56b92e8191

Change-Id: Ib5f44685228bab61d50dea4c5bd226c4b80c2dd1
This commit is contained in:
Etan Cohen
2016-11-03 20:26:29 +00:00
committed by android-build-merger

View File

@@ -61,8 +61,8 @@ def main():
print 'Running tests...'
if len(sys.argv) != 1:
run('adb shell am instrument -w "%s" %s' %
(INSTRUMENTED_PACKAGE_RUNNER, ' '.join(sys.argv[1:])))
run('adb shell am instrument -w %s "%s"' %
(' '.join(sys.argv[1:]), INSTRUMENTED_PACKAGE_RUNNER))
return 0
# It would be nice if the activity manager accepted a list of packages, but