@@ -90,7 +90,7 @@ def get_build_target(swift_exec: str, args: argparse.Namespace, cross_compile: b
90
90
# Build SourceKit-LSP
91
91
92
92
93
- def get_swiftpm_options (swift_exec : str , args : argparse .Namespace ) -> List [str ]:
93
+ def get_swiftpm_options (swift_exec : str , args : argparse .Namespace , suppress_verbose : bool = False ) -> List [str ]:
94
94
swiftpm_args = [
95
95
'--package-path' , args .package_path ,
96
96
'--scratch-path' , args .build_path ,
@@ -100,7 +100,7 @@ def get_swiftpm_options(swift_exec: str, args: argparse.Namespace) -> List[str]:
100
100
if args .multiroot_data_file :
101
101
swiftpm_args += ['--multiroot-data-file' , args .multiroot_data_file ]
102
102
103
- if args .verbose :
103
+ if args .verbose and not suppress_verbose :
104
104
swiftpm_args += ['--verbose' ]
105
105
106
106
if args .sanitize :
@@ -197,7 +197,7 @@ def run_tests(swift_exec: str, args: argparse.Namespace) -> None:
197
197
"""
198
198
Run all tests in the package
199
199
"""
200
- swiftpm_args = get_swiftpm_options (swift_exec , args )
200
+ swiftpm_args = get_swiftpm_options (swift_exec , args , suppress_verbose = True )
201
201
additional_env = get_swiftpm_environment_variables (swift_exec , args )
202
202
# 'swift test' doesn't print os_log output to the command line. Use the
203
203
# `NonDarwinLogger` that prints to stderr so we can view the log output in CI test
0 commit comments