Skip to content

Commit 432644a

Browse files
committed
These tests require the ability to execute code
1 parent 586d167 commit 432644a

File tree

9 files changed

+17
-0
lines changed

9 files changed

+17
-0
lines changed

test/Interpreter/resilient_metadata_cycles.swift

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_class.%target-dylib-extension
1313

14+
// REQUIRES: executable_test
15+
1416
import StdlibUnittest
1517

1618
import resilient_struct

test/Interpreter/struct_extra_inhabitants.swift

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// Type layout verifier is only compiled into the runtime in asserts builds.
1111
// REQUIRES: swift_stdlib_asserts
1212

13+
// REQUIRES: executable_test
14+
1315
// CHECK-NOT: Type verification
1416

1517
import Swift

test/Interpreter/unresolvable_dynamic_metadata_cycles.swift

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
// RUN: %target-run %t/main %t/libresil.%target-dylib-extension
1313

14+
// REQUIRES: executable_test
15+
1416
import StdlibUnittest
1517

1618
// We build this code against a version of 'resil' where

test/multifile/multiconformanceimpls/main.swift

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-codesign %t/a.out
1010
// RUN: %target-run %t/a.out %t/libA.%target-dylib-extension %t/libB.%target-dylib-extension %t/libC.%target-dylib-extension | %FileCheck %s
1111

12+
// REQUIRES: executable_test
13+
1214
import A
1315
import B
1416
import C

test/multifile/nested_types/main.swift

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s
55

6+
// REQUIRES: executable_test
7+
68
class C<T> { }
79

810
struct Y {

test/stdlib/KeyPathMultiFile.swift

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// RUN: %target-codesign %t/a.out
55
// RUN: %target-run %t/a.out
66

7+
// REQUIRES: executable_test
8+
79
import StdlibUnittest
810

911
var keyPathMultiFile = TestSuite("key paths across multiple files")

test/stdlib/KeyPathMultiModule.swift

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// RUN: %target-codesign %t/a.out.fragile
1414
// RUN: %target-run %t/a.out.fragile
1515

16+
// REQUIRES: executable_test
17+
1618
import KeyPathMultiModule_b
1719
import StdlibUnittest
1820

test/stdlib/os_log_format.m

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-run %t/os_log_format | %FileCheck %s
44

55
// REQUIRES: objc_interop
6+
// REQUIRES: executable_test
67

78
#import <Foundation/Foundation.h>
89
#import <stdint.h>

validation-test/stdlib/HashingRandomization.swift

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// RUN: (export -n %env-SWIFT_DETERMINISTIC_HASHING; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=RANDOM %s
55
// RUN: (export %env-SWIFT_DETERMINISTIC_HASHING=1; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=STABLE %s
66

7+
// REQUIRES: executable_test
8+
79
// This check verifies that the hash seed is randomly generated on every
810
// execution of a Swift program unless the SWIFT_DETERMINISTIC_HASHING
911
// environment variable is set.

0 commit comments

Comments
 (0)