Skip to content

Commit 33385c4

Browse files
committed
lit: Fixing STDLIB_ENABLE_UNICODE_DATA check
Testing with unicode enabled was never actually enabled. The expansion was missing the closing `@` symbol on the configure file so it was never expanded, comparing "@STDLIB_ENABLE_UNICODE_DATA" with "TRUE" always evaluates to false, and `stdlib_unicode_data` was never enabled.
1 parent c88d8cf commit 33385c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.site.cfg.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if "@SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED@" == "TRUE":
143143
config.available_features.add('distributed')
144144
if "@SWIFT_STDLIB_STATIC_PRINT@" == "TRUE":
145145
config.available_features.add('stdlib_static_print')
146-
if "@SWIFT_STDLIB_ENABLE_UNICODE_DATA" == "TRUE":
146+
if "@SWIFT_STDLIB_ENABLE_UNICODE_DATA@" == "TRUE":
147147
config.available_features.add('stdlib_unicode_data')
148148
if "@SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING@" == "TRUE":
149149
config.available_features.add('string_processing')

0 commit comments

Comments
 (0)