Reviewers: jochen (slow - soon OOO), Hannes Payer,
Message:
PTAL
Description:
More landmines debug output.
BUG=
Please review this at https://codereview.chromium.org/452903004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+6, -1 lines):
M build/landmines.py
Index: build/landmines.py
diff --git a/build/landmines.py b/build/landmines.py
index
fb8246f212f6cc7b483b8dcd2626dd7032bf32f6..4f9773f41441f59e92e41d984ef1f442fd3112b2
100755
--- a/build/landmines.py
+++ b/build/landmines.py
@@ -58,6 +58,9 @@ def set_up_landmines(target, new_landmines):
if not os.path.exists(out_dir):
return
+ if not os.path.exists(landmines_path):
+ print "Landmines tracker didn't exists."
+
# Make sure the landmines tracker exists.
open(landmines_path, 'a').close()
@@ -73,13 +76,15 @@ def set_up_landmines(target, new_landmines):
with open(triggered, 'w') as f:
f.writelines(diff)
print "Setting landmine: %s" % triggered
- print "Reason:\n%s" % diff
elif os.path.exists(triggered):
# Remove false triggered landmines.
os.remove(triggered)
print "Removing landmine: %s" % triggered
with open(landmines_path, 'w') as f:
f.writelines(new_landmines)
+ with open(landmines_path, 'r') as f:
+ print "Content of the landmines tracker:"
+ print f.read()
def process_options():
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.