@@ -12,7 +12,7 @@ def test(self):
12
12
bp = target .BreakpointCreateForException (lldb .eLanguageTypeSwift , False , True )
13
13
14
14
log_file = self .getBuildArtifact ("symbol.log" )
15
- self .runCmd ("log enable lldb symbols -f {log_file}" )
15
+ self .runCmd ("log enable lldb symbol -f {log_file}" )
16
16
17
17
# First breakpoint in an untyped throws function.
18
18
_ , process , _ , _ = lldbutil .run_to_breakpoint_do_run (self , target , bp )
@@ -29,7 +29,8 @@ def test(self):
29
29
self .ci .HandleCommand ("frame recognizer info 0" , r )
30
30
info += r .GetOutput ()
31
31
with open (log_file ) as f :
32
- info += f .read ()
32
+ log_lines = f .readlines ()
33
+ info += "" .join (line for line in log_lines if "recognize" in line )
33
34
self .assertIn ("qowieoiuqweoiq" , info )
34
35
35
36
# Second breakpoint in an typed throws function.
@@ -47,5 +48,6 @@ def test(self):
47
48
self .ci .HandleCommand ("frame recognizer info 0" , r )
48
49
info += r .GetOutput ()
49
50
with open (log_file ) as f :
50
- info += f .read ()
51
+ log_lines = f .readlines ()
52
+ info += "" .join (line for line in log_lines if "recognize" in line )
51
53
self .assertIn ("qowieoiuqweoiq" , info )
0 commit comments