Skip presubmits when doing --download-data-only.
authorbradnelson <bradnelson@google.com>
Wed, 20 May 2015 17:06:15 +0000 (10:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 May 2015 17:06:01 +0000 (17:06 +0000)
BUG=v8:4124
LOG=N
R=machenbach@chromium.org
TEST=None

Review URL: https://codereview.chromium.org/1148093002

Cr-Commit-Position: refs/heads/master@{#28527}

tools/run-tests.py

index 3186b0b2fc08b13595681f6003a2bff6bd2ef0d8..274bb18ac62227573d98ab705eaacb805705cd36 100755 (executable)
@@ -343,6 +343,8 @@ def ProcessOptions(options):
     # Buildbots run presubmit tests as a separate step.
     options.no_presubmit = True
     options.no_network = True
+  if options.download_data_only:
+    options.no_presubmit = True
   if options.command_prefix:
     print("Specifying --command-prefix disables network distribution, "
           "running tests locally.")