These tests require the ability to execute code

This commit is contained in:
Slava Pestov
2018-08-29 14:47:50 -07:00
parent 586d16788d
commit 432644ad20
9 changed files with 17 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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 {

View File

@@ -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")

View File

@@ -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

View File

@@ -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>

View File

@@ -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.