Merge "Update service test runner to allow test args" am: 56b92e8191

am: dde9ea21e4

Change-Id: I59d572e233720ecf0ddc6cbb5893323b563a3241
This commit is contained in:
Etan Cohen
2016-11-03 20:32:54 +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