Skip to content

Commit a494e0a

Browse files
committed
test: emergency patch to repair the Windows CI
The removal of a key not in the set is an error.
1 parent b584f36 commit a494e0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lit.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,8 @@ else:
15001500
config.available_features.add('libdispatch')
15011501
else:
15021502
# TSan runtime requires libdispatch on non-Apple platforms
1503-
config.available_features.remove('tsan_runtime')
1503+
if 'tsan_runtime' in config.available_features:
1504+
config.available_features.remove('tsan_runtime')
15041505

15051506
if has_lib('Foundation'):
15061507
config.available_features.add('foundation')

0 commit comments

Comments
 (0)