[Lldb-commits] [lldb] r138021 - /lldb/trunk/test/lldbtest.py

Johnny Chen johnny.chen at apple.com
Thu Aug 18 18:17:09 PDT 2011


Author: johnny
Date: Thu Aug 18 20:17:09 2011
New Revision: 138021

URL: http://llvm.org/viewvc/llvm-project?rev=138021&view=rev
Log:
Minor change for the @expectedFailureClang logic.  For the non-clang test failure, re-raise
the exception to get more stack trace information.

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=138021&r1=138020&r2=138021&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Thu Aug 18 20:17:09 2011
@@ -379,11 +379,11 @@
         compiler = self.getCompiler()
         try:
             func(*args, **kwargs)
-        except Exception, e:
+        except Exception:
             if "clang" in compiler:
                 raise case._ExpectedFailure(sys.exc_info())
             else:
-                raise e
+                raise
 
         if "clang" in compiler:
             raise case._UnexpectedSuccess





More information about the lldb-commits mailing list