[Lldb-commits] [lldb] r180662 - Fixed the anonymous testcase. It was testing
Sean Callanan
scallanan at apple.com
Fri Apr 26 18:53:20 PDT 2013
Author: spyffe
Date: Fri Apr 26 20:53:20 2013
New Revision: 180662
URL: http://llvm.org/viewvc/llvm-project?rev=180662&view=rev
Log:
Fixed the anonymous testcase. It was testing
access to 'z' where 'z' was not in scope.
Modified:
lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
Modified: lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/anonymous/TestAnonymous.py?rev=180662&r1=180661&r2=180662&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/anonymous/TestAnonymous.py (original)
+++ lldb/trunk/test/lang/c/anonymous/TestAnonymous.py Fri Apr 26 20:53:20 2013
@@ -113,9 +113,6 @@ class AnonymousTestCase(TestBase):
self.expect("expression c->grandchild.b", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["= 2"])
- self.expect("expression z", VARIABLES_DISPLAYED_CORRECTLY,
- substrs = ["dummy = 2"])
-
def expr_grandchild(self):
self.common_setup(self.line2)
@@ -136,6 +133,9 @@ class AnonymousTestCase(TestBase):
self.expect("expression z.y", VARIABLES_DISPLAYED_CORRECTLY,
substrs = ["(type_y) $1 = {"])
+ self.expect("expression z", VARIABLES_DISPLAYED_CORRECTLY,
+ substrs = ["dummy = 2"])
+
def expr_null(self):
self.common_setup(self.line2)
More information about the lldb-commits
mailing list