Skip to content

Commit 5f660ba

Browse files
committed
Interpreter: mark some tests as REQUIRES: objc_interop
These tests require the ObjC Foundation framework currently (although it should be possible have them use the swift corelibs Foundation project to satisfy this requirement). Marking the tests indicates that these tests do not have the dependencies to run on Windows.
1 parent 2bc5623 commit 5f660ba

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

test/Interpreter/SDK/multi-file-imported-enum.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: %target-build-swift -module-name test -whole-module-optimization %s %S/Inputs/multi-file-imported-enum/main.swift -o %t/a.out
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s
5-
// REQUIRES: executable_test
65

7-
// XFAIL: linux
6+
// REQUIRES: executable_test
7+
// REQUIRES: objc_interop
88

99
import Foundation
1010

test/Interpreter/builtin_bridge_object.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
// RUN: %target-build-swift -parse-stdlib %s -o %t/a.out
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s
5+
56
// REQUIRES: executable_test
7+
// REQUIRES: objc_interop
68

79
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
8-
// XFAIL: linux
910

1011
import Swift
1112
import SwiftShims

test/Interpreter/varargs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-run-simple-swift | %FileCheck %s
2-
// REQUIRES: executable_test
32

4-
// XFAIL: linux
3+
// REQUIRES: executable_test
4+
// REQUIRES: objc_interop
55

66
import Foundation
77

0 commit comments

Comments
 (0)