summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/const_variables/TestConstVariables.py
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-02-20 19:41:49 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-02-20 19:41:49 +0000
commit294c5e1cc3f2fa44c1c387d18759d274f9ac3458 (patch)
treec84f08cc68c0d6747f298c63bf26fff6432333da /lldb/test/lang/c/const_variables/TestConstVariables.py
parent4467d79ad4e477b6aec02b9886b4434affa7de2a (diff)
downloadbcm5719-llvm-294c5e1cc3f2fa44c1c387d18759d274f9ac3458.tar.gz
bcm5719-llvm-294c5e1cc3f2fa44c1c387d18759d274f9ac3458.zip
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 llvm-svn: 175653
Diffstat (limited to 'lldb/test/lang/c/const_variables/TestConstVariables.py')
-rw-r--r--lldb/test/lang/c/const_variables/TestConstVariables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/lang/c/const_variables/TestConstVariables.py b/lldb/test/lang/c/const_variables/TestConstVariables.py
index e3ea90c6159..88c473ca9f7 100644
--- a/lldb/test/lang/c/const_variables/TestConstVariables.py
+++ b/lldb/test/lang/c/const_variables/TestConstVariables.py
@@ -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'])
OpenPOWER on IntegriCloud