Skip to content

Commit 233db3b

Browse files
authored
Merge pull request swiftlang#261 from benlangmuir/parallel
[build-script] Add --parallel to supress output on success
2 parents 733e79b + 6445a69 commit 233db3b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Tests/LanguageServerProtocolJSONRPCTests/ConnectionTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ class ConnectionTests: XCTestCase {
239239
expectation.fulfill()
240240
})
241241

242-
243-
close(to.fileHandleForWriting.fileDescriptor)
242+
to.fileHandleForWriting.closeFile()
244243
// 100 us was chosen empirically to encourage races.
245244
usleep(100)
246245
conn.close()

Utilities/build-script-helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def add_common_args(parser):
133133
tests = os.path.join(bin_path, 'sk-tests')
134134
print('Cleaning ' + tests)
135135
shutil.rmtree(tests, ignore_errors=True)
136-
swiftpm('test', swift_exec, swiftpm_args, env)
136+
swiftpm('test', swift_exec, swiftpm_args + ['--parallel'], env)
137137
elif args.action == 'install':
138138
bin_path = swiftpm_bin_path(swift_exec, swiftpm_args, env)
139139
swiftpm('build', swift_exec, swiftpm_args, env)

0 commit comments

Comments
 (0)