Skip to content

Commit fe1af16

Browse files
committed
Add missing codesign to SE-0422 tests
1 parent 87781ad commit fe1af16

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

test/Macros/macro_default_argument_serialized.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
// RUN: %target-build-swift -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) %s -o %t/main -module-name MacroUser -emit-tbd -emit-tbd-path %t/MacroUser.tbd -I %t -L %t %target-rpath(%t) -lSerialized
1111
// RUN: %target-codesign %t/main
12-
// RUN: %target-run %t/main | %FileCheck %s
12+
// RUN: %target-codesign %t/%target-library-name(Serialized)
13+
// RUN: %target-run %t/main %t/%target-library-name(Serialized) | %FileCheck %s
1314

1415
import Serialized
1516

test/Macros/macro_default_argument_source_location.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
// RUN: %target-build-swift -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) %S/Inputs/with_macro_default_arg_same_module.swift %s -o %t/main -module-name MacroUser -emit-tbd -emit-tbd-path %t/MacroUser.tbd -I %t -L %t %target-rpath(%t) -lWithMacroDefaultArg -lWithMacroDefaultArgInterface
1313
// RUN: %target-codesign %t/main
14-
// RUN: %target-run %t/main | %FileCheck %s
14+
// RUN: %target-codesign %t/%target-library-name(WithMacroDefaultArg)
15+
// RUN: %target-codesign %t/%target-library-name(WithMacroDefaultArgInterface)
16+
// RUN: %target-run %t/main %t/%target-library-name(WithMacroDefaultArg) %t/%target-library-name(WithMacroDefaultArgInterface) | %FileCheck %s
1517

1618
import WithMacroDefaultArg
1719
import WithMacroDefaultArgInterface

test/Macros/macro_default_argument_swiftinterface.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
// RUN: %target-build-swift -swift-version 5 -load-plugin-library %t/%target-library-name(MacroDefinition) %s -o %t/main -module-name MacroUser -emit-tbd -emit-tbd-path %t/MacroUser.tbd -I %t -L %t %target-rpath(%t) -lInterface
1111
// RUN: %target-codesign %t/main
12-
// RUN: %target-run %t/main | %FileCheck %s
12+
// RUN: %target-codesign %t/%target-library-name(Interface)
13+
// RUN: %target-run %t/main %t/%target-library-name(Interface) | %FileCheck %s
1314

1415
import Interface
1516

0 commit comments

Comments
 (0)