[Lldb-commits] [lldb] r151309 - /lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py

Enrico Granata egranata at apple.com
Thu Feb 23 15:57:43 PST 2012


Author: enrico
Date: Thu Feb 23 17:57:43 2012
New Revision: 151309

URL: http://llvm.org/viewvc/llvm-project?rev=151309&view=rev
Log:
commenting parts of std::map test case which would make the test case fail when using TOT clang, but succeed on older compiler releases

Modified:
    lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py?rev=151309&r1=151308&r2=151309&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map/TestDataFormatterStdMap.py Thu Feb 23 17:57:43 2012
@@ -120,8 +120,11 @@
 
         # check that the expression parser does not make use of
         # synthetic children instead of running code
-        self.expect("expression ii[8]", matching=False, error=True,
-                    substrs = ['1234567'])
+        # TOT clang has a fix for this, which makes the expression command here succeed
+        # since this would make the test fail or succeed depending on clang version in use
+        # this is safer commented for the time being
+        #self.expect("expression ii[8]", matching=False, error=True,
+        #            substrs = ['1234567'])
 
         self.runCmd("n")
         
@@ -192,8 +195,11 @@
         
         # check that the expression parser does not make use of
         # synthetic children instead of running code
-        self.expect("expression si[0]", matching=False, error=True,
-                    substrs = ['first = ', 'zero'])
+        # TOT clang has a fix for this, which makes the expression command here succeed
+        # since this would make the test fail or succeed depending on clang version in use
+        # this is safer commented for the time being
+        #self.expect("expression si[0]", matching=False, error=True,
+        #            substrs = ['first = ', 'zero'])
 
         self.runCmd("n")
         
@@ -250,8 +256,11 @@
         
         # check that the expression parser does not make use of
         # synthetic children instead of running code
-        self.expect("expression is[0]", matching=False, error=True,
-                    substrs = ['first = ', 'goofy'])
+        # TOT clang has a fix for this, which makes the expression command here succeed
+        # since this would make the test fail or succeed depending on clang version in use
+        # this is safer commented for the time being
+        #self.expect("expression is[0]", matching=False, error=True,
+        #            substrs = ['first = ', 'goofy'])
 
         self.runCmd("n")
         
@@ -304,8 +313,11 @@
         
         # check that the expression parser does not make use of
         # synthetic children instead of running code
-        self.expect("expression ss[3]", matching=False, error=True,
-                    substrs = ['gatto'])
+        # TOT clang has a fix for this, which makes the expression command here succeed
+        # since this would make the test fail or succeed depending on clang version in use
+        # this is safer commented for the time being
+        #self.expect("expression ss[3]", matching=False, error=True,
+        #            substrs = ['gatto'])
 
         self.runCmd("n")
         





More information about the lldb-commits mailing list