Skip to content

Commit 4edddf2

Browse files
authored
Merge pull request #83648 from xymus/appkit-test-more
Tests: Use a local cache in tests importing AppKit from the SDK
2 parents 44bd40d + ddb13d1 commit 4edddf2

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

test/ClangImporter/SceneKit_test.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-typecheck-verify-swift
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-typecheck-verify-swift -module-cache-path %t/cache
23

34
// REQUIRES: objc_interop
45
// REQUIRES: OS=macosx

test/Interpreter/SDK/GLKit.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-run-simple-swift | %FileCheck %s
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-run-simple-swift(-module-cache-path %t/cache) | %FileCheck %s
23
// REQUIRES: executable_test
34

45
// NOTE: Clang used to miscompile GLKit functions on i386. rdar://problem/19184403

test/Interpreter/SDK/cf_extensions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-run-simple-swift
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-run-simple-swift(-module-cache-path %t/cache)
23
// REQUIRES: executable_test
34

45
// REQUIRES: objc_interop

test/Interpreter/SDK/cf_type_bridging.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-run-simple-swift
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-run-simple-swift(-module-cache-path %t/cache)
23
// REQUIRES: executable_test
34

45
// REQUIRES: objc_interop

test/Interpreter/SDK/mapkit_header_static.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-run-simple-swift | %FileCheck %s
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-run-simple-swift(-module-cache-path %t/cache) | %FileCheck %s
23
// REQUIRES: executable_test
34

45
// REQUIRES: objc_interop

test/Interpreter/SDK/objc_ns_enum.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %target-run-simple-swift
1+
// RUN: %empty-directory(%t/cache)
2+
// RUN: %target-run-simple-swift(-module-cache-path %t/cache)
23
// REQUIRES: executable_test
34

45
// NSButtonType (from AppKit) and UIViewAnimationCurve (from UIKit) both have

0 commit comments

Comments
 (0)