From 1d307720898fe54b1a6bdc8bbf1a03933940c59b Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 7 Dec 2016 18:00:13 -0800 Subject: [PATCH] Don't eat compile errors. --- debug/testlib.py | 15 +++------------ env | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/debug/testlib.py b/debug/testlib.py index 6b01d8d..c9b3f8d 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -374,18 +374,9 @@ class BaseTest(object): compile_args = getattr(self, 'compile_args', None) if compile_args: if compile_args not in BaseTest.compiled: - try: - # pylint: disable=star-args - BaseTest.compiled[compile_args] = \ - self.target.compile(*compile_args) - except Exception: # pylint: disable=broad-except - print "exception while compiling in %.2fs" % ( - time.time() - self.start) - print "=" * 40 - header("Traceback") - traceback.print_exc(file=sys.stdout) - print "/" * 40 - return "exception" + # pylint: disable=star-args + BaseTest.compiled[compile_args] = \ + self.target.compile(*compile_args) self.binary = BaseTest.compiled.get(compile_args) def classSetup(self): diff --git a/env b/env index 9e219c9..ce70afb 160000 --- a/env +++ b/env @@ -1 +1 @@ -Subproject commit 9e219c9ca70459bfda9067d637bb8bf52c5f0326 +Subproject commit ce70afbf50a203be04bc326326cfa75831fe7f5d -- 2.30.2