Skip to content

Commit c6461af

Browse files
authored
Merge pull request #624 from ahoppen/ahoppen/disable-testable-imports
Disable testable imports when testing swift-format
2 parents 022841c + ea542bc commit c6461af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build-script-helper.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@ def invoke_swift_single_product(package_path, swift_exec, action, product, build
189189
args = [swift_exec, action]
190190
args += get_swiftpm_options(package_path, build_path, multiroot_data_file, configuration, verbose)
191191
if action == 'test':
192-
args += ['--test-product', product]
192+
args += [
193+
'--test-product', product,
194+
'--disable-testable-imports'
195+
]
193196
else:
194197
args += ['--product', product]
195198

0 commit comments

Comments
 (0)