Skip to content

Commit 8b5e9f3

Browse files
author
Sean Olszewski
committed
Lit config attempt #2
1 parent ff0974c commit 8b5e9f3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Tests/Functional/Asynchronous/Use/lit.local.cfg

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

Tests/Functional/Asynchronous/Use/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{swiftc} %s -o %T/Use
22
// RUN: %T/Use > %t || true
33
// RUN: %{xctest_checker} %t %s
4-
// REQUIRES: OS=macosx
4+
// REQUIRES: concurrency_runtime
55

66
#if os(macOS)
77
import SwiftXCTest

Tests/lit.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
(run_cpu, run_vendor, run_os, run_vers) = re.match('([^-]+)-([^-]+)-([^0-9]+)(.*)', config.variant_triple).groups()
2+
3+
if run_os != 'macosx' or run_vers >= 12:
4+
config.available_features.add('concurrency_runtime')

0 commit comments

Comments
 (0)