From: Tim Newsome Date: Thu, 8 Dec 2016 02:00:13 +0000 (-0800) Subject: Don't eat compile errors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d307720898fe54b1a6bdc8bbf1a03933940c59b;p=riscv-tests.git Don't eat compile errors. --- 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