From 50744ba57c85dc9953cd265dd095b8863a84d61a Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Tue, 4 Jan 2011 12:17:17 -0800 Subject: [PATCH] Remove try/catch so that ctest blocks builds. All blocking reasons for au test harness flakiness have been resolved. Removing try/catch from ctest so that we propagate the correct error code upon exit. Change-Id: Iee1f09ade37ac7a590c2dbf4ebb96985818f1882 BUG=chromium-os:10434 TEST=Ran ctest unittests. Review URL: http://codereview.chromium.org/5971009 --- bin/ctest.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/ctest.py b/bin/ctest.py index 135ecfed38..3f7da2b9f8 100755 --- a/bin/ctest.py +++ b/bin/ctest.py @@ -307,9 +307,5 @@ def main(): if __name__ == '__main__': - try: - main() - except Exception: - print "Got exception." - traceback.print_exc(file=sys.stdout) + main()