Skip to content

Commit 8774d24

Browse files
committed
[Tests] Explicitly require an isysroot SDK
1 parent 233723a commit 8774d24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Interpreter/import_as_member.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// RUN: rm -rf %t
22
// RUN: mkdir -p %t
3-
// RUN: %clang %S/Inputs/ImportAsMember/IAMVec.c -c -o %t/IAMVec.o
3+
// RUN: %clang -isysroot %sdk %S/Inputs/ImportAsMember/IAMVec.c -c -o %t/IAMVec.o
44
// RUN: %target-build-swift -I %S/Inputs/ImportAsMember/ -Xlinker %t/IAMVec.o %s -o %t/a.out
55
// RUN: %target-run %t/a.out | FileCheck %s
66

77
// REQUIRES: swift_interpreter
8+
// REQUIRES: macosx
89

910
import ImportAsMember
1011

0 commit comments

Comments
 (0)