Skip to content

Commit bc8a307

Browse files
committed
Fix build-script to enable testing
1 parent 232a4aa commit bc8a307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_swiftpm_invocation(spm_exec, build_dir, parser_header_dir,
167167
if spm_exec == 'swift build':
168168
swiftpm_call = ['swift', 'build']
169169
elif spm_exec == 'swift test':
170-
swiftpm_call = ['swift', 'test']
170+
swiftpm_call = ['swift', 'test', '-Xswiftc', '-enable-testing']
171171
else:
172172
swiftpm_call = [spm_exec]
173173

0 commit comments

Comments
 (0)