Skip to content

[Test] Require asserts for some experimental-feature tests. #68129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/IRGen/tuple_conformances.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// 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

protocol P {
Expand Down
3 changes: 3 additions & 0 deletions test/Interpreter/lazy/deferred_syntax_errors.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// REQUIRES: OS=macosx
// 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
// to runtime when the interpreter is invoked using
// experimental lazy compilation. Syntax errors in
Expand Down
3 changes: 3 additions & 0 deletions test/Interpreter/lazy/deferred_type_errors.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// REQUIRES: OS=macosx
// 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
// deferred to runtime when the interpreter is invoked
// using experimental lazy compilation. Type errors in
Expand Down
3 changes: 3 additions & 0 deletions test/Interpreter/lazy/globals.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// REQUIRES: OS=macosx
// 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

let x = 1
Expand Down
3 changes: 3 additions & 0 deletions test/Interpreter/lazy/linkage_promotion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// REQUIRES: swift_interpreter
// 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
// promoted to hidden external, allowing
// single-function compilation of non-public symbols.
Expand Down