@@ -39,7 +39,9 @@ def check_debugserver(self, log, expected_platform, expected_version):
39
39
if expected_version :
40
40
self .assertEqual (aout_info ["min_version_os_sdk" ], expected_version )
41
41
42
- def run_with (self , arch , os , vers , env , expected_load_command , expected_platform = None ):
42
+ def run_with (
43
+ self , arch , os , vers , env , expected_load_command , expected_platform = None
44
+ ):
43
45
env_list = [env ] if env else []
44
46
triple = "-" .join ([arch , "apple" , os + vers ] + env_list )
45
47
sdk = lldbutil .get_xcode_sdk (os , env )
@@ -79,7 +81,12 @@ def run_with(self, arch, os, vers, env, expected_load_command, expected_platform
79
81
# The current platform should be expected
80
82
self .expect ("platform status" , patterns = [r"Platform: " + expected_platform ])
81
83
# Should be able to list processes on the current platform
82
- self .expect ("platform process list" , patterns = [r"\d+ matching processes were found on \"%s\"" % expected_platform ])
84
+ self .expect (
85
+ "platform process list" ,
86
+ patterns = [
87
+ r"\d+ matching processes were found on \"%s\"" % expected_platform
88
+ ],
89
+ )
83
90
self .expect ("image list -b -t" , patterns = [r"a\.out " + triple_re ])
84
91
self .check_debugserver (log , os + env , vers )
85
92
0 commit comments