Add temporary output to debug landmines.
authormachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 8 Aug 2014 16:05:19 +0000 (16:05 +0000)
committermachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 8 Aug 2014 16:05:19 +0000 (16:05 +0000)
TBR=jochen@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23009 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/run-tests.py

index 6e9f554..b3fe953 100755 (executable)
@@ -267,6 +267,13 @@ def ProcessOptions(options):
     # Buildbots run presubmit tests as a separate step.
     options.no_presubmit = True
     options.no_network = True
+
+    # FIXME(machenbach): Temporary hack to debug landmines on buildbot.
+    # Hardcoded for make/ninja.
+    src_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
+    out_dir = os.path.join(src_dir, 'out', options.mode, '.landmines')
+    if os.path.exists(out_dir):
+      print "[INFO] Landmines tracker exists."
   if options.command_prefix:
     print("Specifying --command-prefix disables network distribution, "
           "running tests locally.")