Skip to content

Commit 3b34aad

Browse files
committed
Always run tests in parallel
1 parent c73d652 commit 3b34aad

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Utilities/build-script-helper.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ def add_rpath(rpath, binary, verbose):
150150
if verbose:
151151
print(stdout)
152152

153-
def should_test_parallel():
154-
return platform.system() != 'Linux'
155-
156153
def handle_invocation(args):
157154
swiftpm_args = get_swiftpm_options(args)
158155
toolchain_bin = os.path.join(args.toolchain, 'bin')
@@ -195,9 +192,7 @@ def handle_invocation(args):
195192
if os.path.exists(tool_path):
196193
env['SWIFT_DRIVER_' + tool.upper().replace('-','_') + '_EXEC'] = '%s' % (tool_path)
197194
test_args = swiftpm_args
198-
test_args += ['-Xswiftc', '-enable-testing']
199-
if should_test_parallel():
200-
test_args += ['--parallel']
195+
test_args += ['-Xswiftc', '-enable-testing', '--parallel']
201196
# The test suite consults these variables to control what tests get run
202197
env['SWIFT_DRIVER_ENABLE_INTEGRATION_TESTS'] = "1"
203198
if args.lit_test_dir:

0 commit comments

Comments
 (0)