Skip to content

Commit 6812e61

Browse files
authored
Merge pull request #70422 from jckarter/codesign-moveonly-interpreter-tests
Add missing %target-codesign to moveonly execution tests.
2 parents 74cfcaf + 0022816 commit 6812e61

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

test/Interpreter/moveonly_resilient_capture_during_deinit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-build-swift -emit-module-path %t -enable-library-evolution -module-name moveonly_resilient_type -parse-as-library %S/Inputs/moveonly_resilient_type.swift -c -o %t/moveonly_resilient_type.o
33
// RUN: %target-build-swift -enable-library-evolution -module-name moveonly_resilient_type -parse-as-library %S/Inputs/moveonly_resilient_type.swift -c -o %t/moveonly_resilient_type.o
44
// RUN: %target-build-swift -o %t/a.out -I %t %s %t/moveonly_resilient_type.o
5+
// RUN: %target-codesign %t/a.out
56
// RUN: %target-run %t/a.out | %FileCheck %s
67

78
// REQUIRES: executable_test

test/Interpreter/moveonly_resilient_deinit_on_throw.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-build-swift -emit-module-path %t -enable-library-evolution -module-name moveonly_resilient_type -parse-as-library %S/Inputs/moveonly_resilient_type.swift -c -o %t/moveonly_resilient_type.o
33
// RUN: %target-build-swift -enable-library-evolution -module-name moveonly_resilient_type -parse-as-library %S/Inputs/moveonly_resilient_type.swift -c -o %t/moveonly_resilient_type.o
44
// RUN: %target-build-swift -o %t/a.out -I %t %s %t/moveonly_resilient_type.o
5+
// RUN: %target-codesign %t/a.out
56
// RUN: %target-run %t/a.out | %FileCheck %s
67

78
// REQUIRES: executable_test

test/Interpreter/moveonly_resilient_deinit_on_throw_same_module.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift -o %t/a.out.fragile %s
3+
// RUN: %target-codesign %t/a.out.fragile
34
// RUN: %target-run %t/a.out.fragile | %FileCheck %s
45

56
// FIXME: miscompiles cause extra deinits with library evolution enabled
67

78
// R/UN: %target-build-swift -enable-library-evolution -o %t/a.out.resilient %s
9+
// R/UN: %target-codesign %t/a.out.resilient
810
// R/UN: %target-run %t/a.out.resilient | %FileCheck %s
911

1012
// REQUIRES: executable_test

0 commit comments

Comments
 (0)