[Lldb-commits] [lldb] r128131 - /lldb/trunk/test/unique-types/TestUniqueTypes.py

Johnny Chen johnny.chen at apple.com
Tue Mar 22 18:17:44 PDT 2011


Author: johnny
Date: Tue Mar 22 20:17:44 2011
New Revision: 128131

URL: http://llvm.org/viewvc/llvm-project?rev=128131&view=rev
Log:
Checked in a modified test script to go with rdar://problem/9173060:

    test suite: lldb hangs while running unique-types

Modified:
    lldb/trunk/test/unique-types/TestUniqueTypes.py

Modified: lldb/trunk/test/unique-types/TestUniqueTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/unique-types/TestUniqueTypes.py?rev=128131&r1=128130&r2=128131&view=diff
==============================================================================
--- lldb/trunk/test/unique-types/TestUniqueTypes.py (original)
+++ lldb/trunk/test/unique-types/TestUniqueTypes.py Tue Mar 22 20:17:44 2011
@@ -52,16 +52,24 @@
             # Skip empty line or closing brace.
             if not x or x == '}':
                 continue
+            # clang-137 does not emit instantiation parameter.
+            if self.getCompiler() in ['clang'] and x.find('Vector_base') != -1:
+                continue
             self.expect(x, "Expect type 'long'", exe=False,
                 substrs = ['long'])
 
         # Do a "frame variable -t shorts" and verify "short" is in each line of output.
+        if self.getCompiler() in ['clang']:
+            self.skipTest("rdar://problem/9173060 lldb hangs while running unique-types")
         self.runCmd("frame variable -t shorts")
         output = self.res.GetOutput()
         for x in [line.strip() for line in output.split(os.linesep)]:
             # Skip empty line or closing brace.
             if not x or x == '}':
                 continue
+            # clang-137 does not emit instantiation parameter for lines describing Vector_base.
+            if self.getCompiler() in ['clang'] and x.find('Vector_base') != -1:
+                continue
             self.expect(x, "Expect type 'short'", exe=False,
                 substrs = ['short'])
         





More information about the lldb-commits mailing list