Revision: 23006
Author:   [email protected]
Date:     Fri Aug  8 14:51:16 2014 UTC
Log:      More landmines debug output.

[email protected]

Review URL: https://codereview.chromium.org/452903004
http://code.google.com/p/v8/source/detail?r=23006

Modified:
 /branches/bleeding_edge/build/landmines.py

=======================================
--- /branches/bleeding_edge/build/landmines.py  Wed Jul 23 11:33:29 2014 UTC
+++ /branches/bleeding_edge/build/landmines.py  Fri Aug  8 14:51:16 2014 UTC
@@ -58,6 +58,9 @@
   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 @@
     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.

Reply via email to