Skip to content

Commit 8c0f6e1

Browse files
committed
[TypeWrappers] NFC: Fix type wrapper executable test on Linux
1 parent 0500f35 commit 8c0f6e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/Interpreter/type_wrappers.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift -enable-experimental-feature TypeWrappers -parse-as-library -emit-library -emit-module-path %t/type_wrapper_defs.swiftmodule -module-name type_wrapper_defs %S/Inputs/type_wrapper_defs.swift -o %t/%target-library-name(type_wrapper_defs)
3-
// RUN: %target-build-swift -ltype_wrapper_defs -module-name main -I %t -L %t %s -o %t/a.out
4-
// RUN: %target-run %t/a.out | %FileCheck %s
3+
// RUN: %target-build-swift -ltype_wrapper_defs -module-name main -I %t -L %t %s -o %t/main %target-rpath(%t)
4+
// RUN: %target-codesign %t/main
5+
// RUN: %target-run %t/main %t/%target-library-name(type_wrapper_defs) | %FileCheck %s
6+
7+
// REQUIRES: executable_test
58

69
import type_wrapper_defs
710

0 commit comments

Comments
 (0)