[Lldb-commits] [lldb] r175653 - Fix a problem with the const_variables test case (another lldb bug remains)

Daniel Malea daniel.malea at intel.com
Wed Feb 20 11:41:49 PST 2013


Author: dmalea
Date: Wed Feb 20 13:41:49 2013
New Revision: 175653

URL: http://llvm.org/viewvc/llvm-project?rev=175653&view=rev
Log:
Fix a problem with the const_variables test case (another lldb bug remains)
- make the test case step past the location where 'index' is initialized, otherwise its value cannot be printed (verified gcc 4.6/4.7 and recent clang)
- "Couldn't materialize struct" error from LLDB still prevents this test case from passing


Modified:
    lldb/trunk/test/lang/c/const_variables/TestConstVariables.py

Modified: lldb/trunk/test/lang/c/const_variables/TestConstVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/const_variables/TestConstVariables.py?rev=175653&r1=175652&r2=175653&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/const_variables/TestConstVariables.py (original)
+++ lldb/trunk/test/lang/c/const_variables/TestConstVariables.py Wed Feb 20 13:41:49 2013
@@ -45,6 +45,8 @@ class ConstVariableTestCase(TestBase):
         self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
             substrs = [' resolved, hit count = 1'])
 
+        self.runCmd("next")
+
         # Try frame variable.
         self.expect("frame variable index", VARIABLES_DISPLAYED_CORRECTLY,
             substrs = ['(int32_t) index = 512'])





More information about the lldb-commits mailing list