[Lldb-commits] [lldb] r254744 - Fix test error in TestObjCCheckers.py
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 4 10:40:34 PST 2015
Author: tfiala
Date: Fri Dec 4 12:40:34 2015
New Revision: 254744
URL: http://llvm.org/viewvc/llvm-project?rev=254744&view=rev
Log:
Fix test error in TestObjCCheckers.py
Modified:
lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py?rev=254744&r1=254743&r2=254744&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py Fri Dec 4 12:40:34 2015
@@ -68,7 +68,7 @@ class ObjCCheckerTestCase(TestBase):
# Make sure the call produced no NSLog stdout.
stdout = process.GetSTDOUT(100)
- self.assertTrue (len(stdout) == 0)
+ self.assertTrue (stdout is None or (len(stdout) == 0))
# Make sure the error is helpful:
err_string = expr_error.GetCString()
More information about the lldb-commits
mailing list