Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: bin/ctest.py

Issue 3678004: Hide errors until builder succeeds. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Nit Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/ctest.py
diff --git a/bin/ctest.py b/bin/ctest.py
index 418dfaba7859684b658eaf367341cf247ce28aed..2e12293cbc5ef29eea66a57efd69828eca8074a4 100755
--- a/bin/ctest.py
+++ b/bin/ctest.py
@@ -10,6 +10,7 @@ import fileinput
import optparse
import os
import sys
+import traceback
import urllib
sys.path.append(os.path.join(os.path.dirname(__file__), '../lib'))
@@ -212,4 +213,9 @@ def main():
if __name__ == '__main__':
- main()
+ try:
+ main()
+ except Exception:
+ print "Got exception."
+ traceback.print_exc(file=sys.stdout)
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698