Fix passing of shard options in test wrapper.

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9702022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11047 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2012-03-14 14:52:52 +00:00
parent fe1440f339
commit 1f8a901141

View File

@ -197,9 +197,9 @@ def PassOnOptions(options):
if options.crankshaft:
result += ['--crankshaft']
if options.shard_count != 1:
result += ['--shard_count=%s' % options.shard_count]
result += ['--shard-count=%s' % options.shard_count]
if options.shard_run != 1:
result += ['--shard_run=%s' % options.shard_run]
result += ['--shard-run=%s' % options.shard_run]
if options.noprof:
result += ['--noprof']
return result