mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These tests require the ability to execute code
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
|
||||
// RUN: %target-run %t/main %t/libresilient_struct.%target-dylib-extension %t/libresilient_class.%target-dylib-extension
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import StdlibUnittest
|
||||
|
||||
import resilient_struct
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
// Type layout verifier is only compiled into the runtime in asserts builds.
|
||||
// REQUIRES: swift_stdlib_asserts
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
// CHECK-NOT: Type verification
|
||||
|
||||
import Swift
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
// RUN: %target-run %t/main %t/libresil.%target-dylib-extension
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import StdlibUnittest
|
||||
|
||||
// We build this code against a version of 'resil' where
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
// RUN: %target-codesign %t/a.out
|
||||
// RUN: %target-run %t/a.out %t/libA.%target-dylib-extension %t/libB.%target-dylib-extension %t/libC.%target-dylib-extension | %FileCheck %s
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import A
|
||||
import B
|
||||
import C
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
// RUN: %target-codesign %t/a.out
|
||||
// RUN: %target-run %t/a.out | %FileCheck %s
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
class C<T> { }
|
||||
|
||||
struct Y {
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
// RUN: %target-codesign %t/a.out
|
||||
// RUN: %target-run %t/a.out
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import StdlibUnittest
|
||||
|
||||
var keyPathMultiFile = TestSuite("key paths across multiple files")
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
// RUN: %target-codesign %t/a.out.fragile
|
||||
// RUN: %target-run %t/a.out.fragile
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import KeyPathMultiModule_b
|
||||
import StdlibUnittest
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// RUN: %target-run %t/os_log_format | %FileCheck %s
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
// REQUIRES: executable_test
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <stdint.h>
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
// RUN: (export -n %env-SWIFT_DETERMINISTIC_HASHING; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=RANDOM %s
|
||||
// RUN: (export %env-SWIFT_DETERMINISTIC_HASHING=1; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=STABLE %s
|
||||
|
||||
// REQUIRES: executable_test
|
||||
|
||||
// This check verifies that the hash seed is randomly generated on every
|
||||
// execution of a Swift program unless the SWIFT_DETERMINISTIC_HASHING
|
||||
// environment variable is set.
|
||||
|
||||
Reference in New Issue
Block a user