Skip to content

Commit c223f7d

Browse files
committed
Debug builds of Foundation should be testable
1 parent fb32aa4 commit c223f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def generate_products(self):
118118
swift_flags += """
119119
TARGET_SWIFTEXE_FLAGS = -I${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
120120
if Configuration.current.build_mode == Configuration.Debug:
121-
swift_flags += "-g -Onone "
121+
swift_flags += "-g -Onone -enable-testing "
122122
elif Configuration.current.build_mode == Configuration.Release:
123123
swift_flags += " "
124124
swift_flags += Configuration.current.extra_swift_flags

0 commit comments

Comments
 (0)