[Lldb-commits] [lldb] r137739 - /lldb/trunk/test/lang/c/strings/TestCStrings.py

Johnny Chen johnny.chen at apple.com
Tue Aug 16 12:59:22 PDT 2011


Author: johnny
Date: Tue Aug 16 14:59:22 2011
New Revision: 137739

URL: http://llvm.org/viewvc/llvm-project?rev=137739&view=rev
Log:
Take clang output into account.

Modified:
    lldb/trunk/test/lang/c/strings/TestCStrings.py

Modified: lldb/trunk/test/lang/c/strings/TestCStrings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/strings/TestCStrings.py?rev=137739&r1=137738&r2=137739&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/strings/TestCStrings.py (original)
+++ lldb/trunk/test/lang/c/strings/TestCStrings.py Tue Aug 16 14:59:22 2011
@@ -36,7 +36,7 @@
         self.runCmd("process launch", RUN_SUCCEEDED)
 
         self.expect("expression -- a[2]",
-                    startstr = "(char) $0 = 'c'")
+                    patterns = ["\((const )?char\) \$0 = 'c'"])
 
         self.expect("expression -- z[2]",
                     startstr = "(const char) $1 = 'x'")





More information about the lldb-commits mailing list