mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Test] Require asserts for some experimental-feature tests.
For LazyImmediate and TupleConformances.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
// RUN: %target-swift-frontend -emit-ir -parse-stdlib -primary-file %s -enable-experimental-feature TupleConformances -parse-as-library | %FileCheck %s
|
// RUN: %target-swift-frontend -emit-ir -parse-stdlib -primary-file %s -enable-experimental-feature TupleConformances -parse-as-library | %FileCheck %s
|
||||||
|
|
||||||
|
// -enable-experimental-feature requires an asserts build
|
||||||
|
// REQUIRES: asserts
|
||||||
|
|
||||||
import Swift
|
import Swift
|
||||||
|
|
||||||
protocol P {
|
protocol P {
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// REQUIRES: OS=macosx
|
// REQUIRES: OS=macosx
|
||||||
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
||||||
|
|
||||||
|
// -enable-experimental-feature requires an asserts build
|
||||||
|
// REQUIRES: asserts
|
||||||
|
|
||||||
// Tests that parsing of function bodies is deferred
|
// Tests that parsing of function bodies is deferred
|
||||||
// to runtime when the interpreter is invoked using
|
// to runtime when the interpreter is invoked using
|
||||||
// experimental lazy compilation. Syntax errors in
|
// experimental lazy compilation. Syntax errors in
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// REQUIRES: OS=macosx
|
// REQUIRES: OS=macosx
|
||||||
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
||||||
|
|
||||||
|
// -enable-experimental-feature requires an asserts build
|
||||||
|
// REQUIRES: asserts
|
||||||
|
|
||||||
// Tests that type checking of function bodies is
|
// Tests that type checking of function bodies is
|
||||||
// deferred to runtime when the interpreter is invoked
|
// deferred to runtime when the interpreter is invoked
|
||||||
// using experimental lazy compilation. Type errors in
|
// using experimental lazy compilation. Type errors in
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
// REQUIRES: OS=macosx
|
// REQUIRES: OS=macosx
|
||||||
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
||||||
|
|
||||||
|
// -enable-experimental-feature requires an asserts build
|
||||||
|
// REQUIRES: asserts
|
||||||
|
|
||||||
// Tests that piecewise compilation works with global variables
|
// Tests that piecewise compilation works with global variables
|
||||||
|
|
||||||
let x = 1
|
let x = 1
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
// REQUIRES: swift_interpreter
|
// REQUIRES: swift_interpreter
|
||||||
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
|
||||||
|
|
||||||
|
// -enable-experimental-feature requires an asserts build
|
||||||
|
// REQUIRES: asserts
|
||||||
|
|
||||||
// Tests that the linkage of private symbols is
|
// Tests that the linkage of private symbols is
|
||||||
// promoted to hidden external, allowing
|
// promoted to hidden external, allowing
|
||||||
// single-function compilation of non-public symbols.
|
// single-function compilation of non-public symbols.
|
||||||
|
|||||||
Reference in New Issue
Block a user