Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index 6e9f5549d811b44b488feb94c3d431ffdbac1825..b3fe9531ff11d218e9a6de1dc9f346e335ba2a5a 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -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.") |