Skip to content

Commit 4e22193

Browse files
committed
[Test] Require asserts for some experimental-feature tests.
For LazyImmediate and TupleConformances.
1 parent 80f4588 commit 4e22193

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

test/IRGen/tuple_conformances.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %target-swift-frontend -emit-ir -parse-stdlib -primary-file %s -enable-experimental-feature TupleConformances -parse-as-library | %FileCheck %s
22

3+
// -enable-experimental-feature requires an asserts build
4+
// REQUIRES: asserts
5+
36
import Swift
47

58
protocol P {

test/Interpreter/lazy/deferred_syntax_errors.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// REQUIRES: OS=macosx
22
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
33

4+
// -enable-experimental-feature requires an asserts build
5+
// REQUIRES: asserts
6+
47
// Tests that parsing of function bodies is deferred
58
// to runtime when the interpreter is invoked using
69
// experimental lazy compilation. Syntax errors in

test/Interpreter/lazy/deferred_type_errors.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// REQUIRES: OS=macosx
22
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
33

4+
// -enable-experimental-feature requires an asserts build
5+
// REQUIRES: asserts
6+
47
// Tests that type checking of function bodies is
58
// deferred to runtime when the interpreter is invoked
69
// using experimental lazy compilation. Type errors in

test/Interpreter/lazy/globals.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// REQUIRES: OS=macosx
22
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
33

4+
// -enable-experimental-feature requires an asserts build
5+
// REQUIRES: asserts
6+
47
// Tests that piecewise compilation works with global variables
58

69
let x = 1

test/Interpreter/lazy/linkage_promotion.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// REQUIRES: swift_interpreter
33
// RUN: %target-jit-run %s -enable-experimental-feature LazyImmediate | %FileCheck %s
44

5+
// -enable-experimental-feature requires an asserts build
6+
// REQUIRES: asserts
7+
58
// Tests that the linkage of private symbols is
69
// promoted to hidden external, allowing
710
// single-function compilation of non-public symbols.

0 commit comments

Comments
 (0)