Merge "Update service test runner to allow test args"

This commit is contained in:
Etan Cohen
2016-11-03 20:18:53 +00:00
committed by Gerrit Code Review

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