Don't eat compile errors.
authorTim Newsome <tim@sifive.com>
Thu, 8 Dec 2016 02:00:13 +0000 (18:00 -0800)
committerTim Newsome <tim@sifive.com>
Thu, 8 Dec 2016 02:00:13 +0000 (18:00 -0800)
debug/testlib.py
env

index 6b01d8df68dad2256e483299974408cd255a2cd0..c9b3f8dd4e00e3e5a1899c1dc27c25f72d2550ae 100644 (file)
@@ -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 9e219c9ca70459bfda9067d637bb8bf52c5f0326..ce70afbf50a203be04bc326326cfa75831fe7f5d 160000 (submodule)
--- a/env
+++ b/env
@@ -1 +1 @@
-Subproject commit 9e219c9ca70459bfda9067d637bb8bf52c5f0326
+Subproject commit ce70afbf50a203be04bc326326cfa75831fe7f5d