[Lldb-commits] [lldb] r247479 - Fix a thinko causing test logs for crashes to not get written.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 11 14:27:37 PDT 2015


Author: zturner
Date: Fri Sep 11 16:27:37 2015
New Revision: 247479

URL: http://llvm.org/viewvc/llvm-project?rev=247479&view=rev
Log:
Fix a thinko causing test logs for crashes to not get written.

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=247479&r1=247478&r2=247479&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Sep 11 16:27:37 2015
@@ -1738,7 +1738,7 @@ class Base(unittest2.TestCase):
         if self.__errored__:
             pairs = lldb.test_result.errors
             prefix = 'Error'
-        if self.__cleanup_errored__:
+        elif self.__cleanup_errored__:
             pairs = lldb.test_result.cleanup_errors
             prefix = 'CleanupError'
         elif self.__failed__:




More information about the lldb-commits mailing list