@@ -55,9 +55,9 @@ def test_implementation_only_import_main_executable(self):
55
55
"(SomeLibrary.TwoInts) value = (first = 2, second = 3)" ,
56
56
"(main.ContainsTwoInts) container = {\n wrapped = (first = 2, second = 3)\n other = 10\n }" ,
57
57
"(Int) simple = 1" ])
58
- self .expect ("e value" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 2, second = 3)" ])
59
- self .expect ("e container" , substrs = ["(main.ContainsTwoInts)" , "wrapped = (first = 2, second = 3)" , "other = 10" ])
60
- self .expect ("e TwoInts(4, 5)" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 4, second = 5)" ])
58
+ self .expect ("expr value" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 2, second = 3)" ])
59
+ self .expect ("expr container" , substrs = ["(main.ContainsTwoInts)" , "wrapped = (first = 2, second = 3)" , "other = 10" ])
60
+ self .expect ("expr TwoInts(4, 5)" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 4, second = 5)" ])
61
61
62
62
@skipIf (bugnumber = "rdar://problem/54322424" , # This test is unreliable.
63
63
setting = ('symbols.use-swift-clangimporter' , 'false' ))
@@ -86,9 +86,9 @@ def test_implementation_only_import_main_executable_no_library_module(self):
86
86
# "container = {}",
87
87
"simple = 1" ])
88
88
89
- self .expect ("e value" , error = True )
90
- self .expect ("e container" , error = True )
91
- self .expect ("e TwoInts(4, 5)" , error = True )
89
+ self .expect ("expr value" , error = True )
90
+ self .expect ("expr container" , error = True )
91
+ self .expect ("expr TwoInts(4, 5)" , error = True )
92
92
lldb .SBDebugger .MemoryPressureDetected ()
93
93
self .runCmd ("settings set symbols.use-swift-dwarfimporter true" )
94
94
@@ -109,9 +109,9 @@ def test_implementation_only_import_main_executable_resilient(self):
109
109
"(SomeLibrary.TwoInts) value = (first = 2, second = 3)" ,
110
110
"(main.ContainsTwoInts) container = {\n wrapped = (first = 2, second = 3)\n other = 10\n }" ,
111
111
"(Int) simple = 1" ])
112
- self .expect ("e value" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 2, second = 3)" ])
113
- self .expect ("e container" , substrs = ["(main.ContainsTwoInts)" , "wrapped = (first = 2, second = 3)" , "other = 10" ])
114
- self .expect ("e TwoInts(4, 5)" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 4, second = 5)" ])
112
+ self .expect ("expr value" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 2, second = 3)" ])
113
+ self .expect ("expr container" , substrs = ["(main.ContainsTwoInts)" , "wrapped = (first = 2, second = 3)" , "other = 10" ])
114
+ self .expect ("expr TwoInts(4, 5)" , substrs = ["(SomeLibrary.TwoInts)" , "= (first = 4, second = 5)" ])
115
115
116
116
@swiftTest
117
117
@expectedFailureOS (no_match (["macosx" ])) # Requires Remote Mirrors support
@@ -134,6 +134,6 @@ def test_implementation_only_import_main_executable_resilient_no_library_module(
134
134
"(Int) simple = 1" ])
135
135
# FIXME: If we could figure out how to ignore this failure but still not
136
136
# crash if we touch something that can't be loaded, that would be nice.
137
- self .expect ("e value" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
138
- self .expect ("e container" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
139
- self .expect ("e TwoInts(4, 5)" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
137
+ self .expect ("expr value" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
138
+ self .expect ("expr container" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
139
+ self .expect ("expr TwoInts(4, 5)" , error = True , substrs = ["failed to get module \" SomeLibrary\" from AST context" ])
0 commit comments