@@ -78,7 +78,7 @@ def is_subpath(path, d):
78
78
return path .startswith (d )
79
79
80
80
81
- # Convert test path in source directory to correspoding path in build
81
+ # Convert test path in source directory to corresponding path in build
82
82
# directory. If the path is not sub path of test directories in source,
83
83
# return the path as is.
84
84
def normalize_test_path (path , build_dir , variant ):
@@ -125,7 +125,7 @@ def main():
125
125
type = arguments .type .shell_split ,
126
126
action = arguments .action .concat ,
127
127
default = [],
128
- help = "key=value paramters they are directly passed to "
128
+ help = "key=value parameters they are directly passed to "
129
129
"lit command in addition to `mode` and `subset`. "
130
130
"Accept multiple." )
131
131
parser .add_argument ("--result-dir" , type = os .path .realpath , metavar = "PATH" ,
@@ -151,7 +151,7 @@ def main():
151
151
152
152
build_dir = args .build_dir
153
153
if build_dir is not None :
154
- # Fixup build direcotry .
154
+ # Fixup build directory .
155
155
# build_dir can be:
156
156
# build-root/ # assuming we are to test host deployment target.
157
157
# build-root/swift-{tool-deployment_target}/
@@ -192,7 +192,7 @@ def main():
192
192
break
193
193
d = os .path .dirname (d )
194
194
else :
195
- error_exit ("Can't infer swift build direcory " )
195
+ error_exit ("Can't infer swift build directory " )
196
196
197
197
# Ensure we have up to date test dependency
198
198
if args .build != 'skip' and is_build_dir_xcode (build_dir ):
0 commit comments