Skip to content

Commit 0bdef6e

Browse files
committed
[test] IRGen/opaque_result_alwaysInlineIntoClient: Try again
1 parent 730bf24 commit 0bdef6e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/IRGen/opaque_result_alwaysInlineIntoClient.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift -target %target-cpu-apple-macosx10.15 -parse-as-library -emit-library -emit-module-path %t/AlwaysInlineIntoWithOpaque.swiftmodule -module-name AlwaysInlineIntoWithOpaque %S/Inputs/AlwaysInlineIntoWithOpaque.swift -o %t/%target-library-name(AlwaysInlineIntoWithOpaque)
3+
// RUN: %target-codesign %t/%target-library-name(AlwaysInlineIntoWithOpaque)
34
// RUN: %target-build-swift -target %target-cpu-apple-macosx10.15 -lAlwaysInlineIntoWithOpaque -module-name main -I %t -L %t %s -o %t/a.out
5+
// RUN: %target-codesign %t/a.out
46
// RUN: %target-run %t/a.out | %FileCheck %s
57

68
// RUN: %target-build-swift -target %target-cpu-apple-macosx10.15 -parse-as-library -emit-library -emit-module-path %t/AlwaysInlineIntoWithOpaque.swiftmodule -module-name AlwaysInlineIntoWithOpaque %S/Inputs/AlwaysInlineIntoWithOpaqueReplacement.swift -o %t/%target-library-name(AlwaysInlineIntoWithOpaque)
9+
// RUN: %target-codesign %t/a.out
710
// RUN: %target-run %t/a.out | %FileCheck %s
811

912
// REQUIRES: OS=macosx && (CPU=x86_64 || CPU=arm64)
1013
// REQUIRES: executable_test
1114

15+
// This test requires executable tests to be run on the same machine as the
16+
// compiler, as it links with a dylib that it doesn't arrange to get uploaded
17+
// to remote executors.
18+
// (rdar://97995151)
19+
// UNSUPPORTED: remote_run || device_run
20+
1221
import AlwaysInlineIntoWithOpaque
1322

1423
public func test() {

0 commit comments

Comments
 (0)