Skip to content

Commit 8794e0c

Browse files
author
Sean Olszewski
committed
Lit config attempt #3
1 parent 8b5e9f3 commit 8794e0c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Tests/Functional/lit.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,8 @@ config.substitutions.append(('%{xctest_checker}', '%%{python} %s' % xctest_check
139139

140140
# Add Python to run xctest_checker.py tests as part of XCTest tests
141141
config.substitutions.append( ('%{python}', pipes.quote(sys.executable)) )
142+
143+
(run_cpu, run_vendor, run_os, run_vers) = re.match('([^-]+)-([^-]+)-([^0-9]+)(.*)', config.variant_triple).groups()
144+
145+
if run_os != 'macosx' or run_vers >= 12:
146+
config.available_features.add('concurrency_runtime')

Tests/lit.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)