@@ -55,9 +55,9 @@ def test_implementation_only_import_main_executable(self):
5555 "(SomeLibrary.TwoInts) value = (first = 2, second = 3)" ,
5656 "(main.ContainsTwoInts) container = {\n wrapped = (first = 2, second = 3)\n other = 10\n }" ,
5757 "(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)" ])
6161
6262 @skipIf (bugnumber = "rdar://problem/54322424" , # This test is unreliable.
6363 setting = ('symbols.use-swift-clangimporter' , 'false' ))
@@ -86,9 +86,9 @@ def test_implementation_only_import_main_executable_no_library_module(self):
8686# "container = {}",
8787 "simple = 1" ])
8888
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 )
9292 lldb .SBDebugger .MemoryPressureDetected ()
9393 self .runCmd ("settings set symbols.use-swift-dwarfimporter true" )
9494
@@ -109,9 +109,9 @@ def test_implementation_only_import_main_executable_resilient(self):
109109 "(SomeLibrary.TwoInts) value = (first = 2, second = 3)" ,
110110 "(main.ContainsTwoInts) container = {\n wrapped = (first = 2, second = 3)\n other = 10\n }" ,
111111 "(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)" ])
115115
116116 @swiftTest
117117 @expectedFailureOS (no_match (["macosx" ])) # Requires Remote Mirrors support
@@ -134,6 +134,6 @@ def test_implementation_only_import_main_executable_resilient_no_library_module(
134134 "(Int) simple = 1" ])
135135 # FIXME: If we could figure out how to ignore this failure but still not
136136 # 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