Skip to content

Commit 41f8abf

Browse files
authored
Merge pull request #39041 from hamishknight/fix-test-crash-5.5
[5.5] [test] Add missing postprocessing phase to executable stress tests
2 parents 32a537f + 6798a90 commit 41f8abf

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

test/Prototypes/BigInt.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
// RUN: %empty-directory(%t)
1414
// RUN: %target-build-swift -swift-version 4 -o %t/a.out %s
15+
// RUN: %target-codesign %t/a.out
1516
// RUN: %target-run %t/a.out
1617
// REQUIRES: executable_test
1718
// REQUIRES: CPU=x86_64

validation-test/Runtime/weak-reference-racetests-dispatch.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-build-swift %s %import-libdispatch -o %t_binary
2+
// RUN: %target-codesign %t_binary
23
// RUN: %target-run %t_binary
34
// REQUIRES: executable_test
45
// REQUIRES: stress_test

validation-test/SILOptimizer/string_switch.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-build-swift -O %s -module-name=test -Xllvm -sil-disable-pass=FunctionSignatureOpts -o %t.out
22
// RUN: %target-build-swift -O %s -module-name=test -Xllvm -sil-disable-pass=FunctionSignatureOpts -emit-sil | %FileCheck %s
3+
// RUN: %target-codesign %t.out
34
// RUN: %target-run %t.out
45
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
56
// REQUIRES: stress_test

validation-test/StdlibUnittest/AtomicInt.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %empty-directory(%t)
22
//
33
// RUN: %target-build-swift -module-name a %s -o %t.out -O
4+
// RUN: %target-codesign %t.out
45
// RUN: %target-run %t.out
56
// REQUIRES: executable_test
67
// REQUIRES: stress_test

validation-test/stdlib/ArrayBridging.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-clang -fobjc-arc %S/Inputs/SlurpFastEnumeration/SlurpFastEnumeration.m -c -o %t/SlurpFastEnumeration.o
44
// RUN: echo '#sourceLocation(file: "%s", line: 1)' > "%t/main.swift" && cat "%s" >> "%t/main.swift" && chmod -w "%t/main.swift"
55
// RUN: %target-build-swift -Xfrontend -disable-access-control -I %S/Inputs/SlurpFastEnumeration/ %t/main.swift %S/Inputs/DictionaryKeyValueTypes.swift %S/Inputs/DictionaryKeyValueTypesObjC.swift -Xlinker %t/SlurpFastEnumeration.o -o %t.out -O -swift-version 4
6+
// RUN: %target-codesign %t.out
67
// RUN: %target-run %t.out
78
// REQUIRES: executable_test
89

validation-test/stdlib/DictionaryBridging.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-clang -fobjc-arc %S/Inputs/SlurpFastEnumeration/SlurpFastEnumeration.m -c -o %t/SlurpFastEnumeration.o
44
// RUN: echo '#sourceLocation(file: "%s", line: 1)' > "%t/main.swift" && cat "%s" >> "%t/main.swift" && chmod -w "%t/main.swift"
55
// RUN: %target-build-swift -Xfrontend -disable-access-control -I %S/Inputs/SlurpFastEnumeration/ %t/main.swift %S/Inputs/DictionaryKeyValueTypes.swift %S/Inputs/DictionaryKeyValueTypesObjC.swift -Xlinker %t/SlurpFastEnumeration.o -o %t.out -O -swift-version 4.2
6+
// RUN: %target-codesign %t.out
67
// RUN: %target-run %t.out
78
// REQUIRES: executable_test
89
// REQUIRES: stress_test

validation-test/stdlib/ParameterPassing.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// RUN: %empty-directory(%t)
1313
// RUN: %gyb %s -o %t/ParameterPassing.swift
1414
// RUN: %line-directive %t/ParameterPassing.swift -- %target-build-swift %t/ParameterPassing.swift -o %t/a.out_Release -O
15+
// RUN: %target-codesign %t/a.out_Release
1516
// RUN: %target-run %t/a.out_Release
1617
// UNSUPPORTED: CPU=armv7k || CPU=arm64_32
1718
// REQUIRES: executable_test

validation-test/stdlib/SIMDParameterPassing.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// RUN: %empty-directory(%t)
1313
// RUN: %gyb %s -o %t/SIMDParameterPassing.swift
1414
// RUN: %line-directive %t/SIMDParameterPassing.swift -- %target-build-swift %t/SIMDParameterPassing.swift -o %t/a.out_Release -O
15+
// RUN: %target-codesign %t/a.out_Release
1516
// RUN: %target-run %t/a.out_Release
1617

1718
// UNSUPPORTED: CPU=armv7k || CPU=arm64_32

0 commit comments

Comments
 (0)