tests: ignore-debug
-> ignore-std-debug-assertions
This commit is contained in:
parent
3870022986
commit
0d5cc8ee96
@ -1,5 +1,5 @@
|
|||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ ignore-debug
|
//@ ignore-std-debug-assertions
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
use std::collections::binary_heap::PeekMut;
|
use std::collections::binary_heap::PeekMut;
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
// known to be `1` after inlining).
|
// known to be `1` after inlining).
|
||||||
|
|
||||||
//@ compile-flags: -C no-prepopulate-passes -Zinline-mir=no
|
//@ compile-flags: -C no-prepopulate-passes -Zinline-mir=no
|
||||||
//@ ignore-debug: precondition checks in ptr::read make them a bad candidate for MIR inlining
|
//@ ignore-std-debug-assertions
|
||||||
|
// Reason: precondition checks in ptr::read make them a bad candidate for MIR inlining
|
||||||
//@ needs-deterministic-layouts
|
//@ needs-deterministic-layouts
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//@ compile-flags: -O -C no-prepopulate-passes
|
//@ compile-flags: -O -C no-prepopulate-passes
|
||||||
//@ only-x86_64 (to not worry about usize differing)
|
//@ only-x86_64 (to not worry about usize differing)
|
||||||
//@ ignore-debug: precondition checks make mem::replace not a candidate for MIR inlining
|
//@ ignore-std-debug-assertions
|
||||||
|
// Reason: precondition checks make mem::replace not a candidate for MIR inlining
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ only-x86_64
|
//@ only-x86_64
|
||||||
//@ ignore-debug: debug assertions prevent generating shufflevector
|
//@ ignore-std-debug-assertions (debug assertions prevent generating shufflevector)
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//@ ignore-debug: FIXME: checks for call detect scoped noalias metadata
|
//@ ignore-std-debug-assertions (FIXME: checks for call detect scoped noalias metadata)
|
||||||
//@ compile-flags: -O -Z merge-functions=disabled
|
//@ compile-flags: -O -Z merge-functions=disabled
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// LLVM 17 realizes double panic is not possible and doesn't generate calls
|
// LLVM 17 realizes double panic is not possible and doesn't generate calls
|
||||||
// to panic_cannot_unwind.
|
// to panic_cannot_unwind.
|
||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ ignore-debug: plain old debug assertions
|
//@ ignore-std-debug-assertions (plain old debug assertions)
|
||||||
//@ needs-unwind
|
//@ needs-unwind
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![feature(shrink_to)]
|
#![feature(shrink_to)]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ ignore-debug
|
//@ ignore-std-debug-assertions
|
||||||
// (with debug assertions turned on, `assert_unchecked` generates a real assertion)
|
// (with debug assertions turned on, `assert_unchecked` generates a real assertion)
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ needs-deterministic-layouts
|
//@ needs-deterministic-layouts
|
||||||
//@ ignore-debug: FIXME: checks for call detect scoped noalias metadata
|
//@ ignore-std-debug-assertions (FIXME: checks for call detect scoped noalias metadata)
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// This test checks that `VecDeque::front[_mut]()` and `VecDeque::back[_mut]()` can't panic.
|
// This test checks that `VecDeque::front[_mut]()` and `VecDeque::back[_mut]()` can't panic.
|
||||||
|
|
||||||
//@ compile-flags: -O
|
//@ compile-flags: -O
|
||||||
//@ ignore-debug: plain old debug assertions
|
//@ ignore-std-debug-assertions (plain old debug assertions)
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// skip-filecheck
|
// skip-filecheck
|
||||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
|
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
|
||||||
//@ ignore-debug: precondition checks on ptr::read/write are under cfg(debug_assertions)
|
//@ ignore-std-debug-assertions
|
||||||
|
// Reason: precondition checks on ptr::read/write are under cfg(debug_assertions)
|
||||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// skip-filecheck
|
// skip-filecheck
|
||||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
|
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
|
||||||
//@ ignore-debug: precondition checks are under cfg(debug_assertions)
|
//@ ignore-std-debug-assertions (precondition checks are under cfg(debug_assertions))
|
||||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// skip-filecheck
|
// skip-filecheck
|
||||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||||
//@ only-64bit (constants for `None::<&T>` show in the output)
|
//@ only-64bit (constants for `None::<&T>` show in the output)
|
||||||
//@ ignore-debug: precondition checks on ptr::add are under cfg(debug_assertions)
|
//@ ignore-std-debug-assertions (precondition checks on ptr::add are under cfg(debug_assertions))
|
||||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
//! padding and overall computed sizes can be quite different.
|
//! padding and overall computed sizes can be quite different.
|
||||||
//!
|
//!
|
||||||
//@ compile-flags: -Z print-type-sizes --crate-type lib
|
//@ compile-flags: -Z print-type-sizes --crate-type lib
|
||||||
//@ ignore-debug: debug assertions will print more types
|
//@ ignore-std-debug-assertions (debug assertions will print more types)
|
||||||
//@ build-pass
|
//@ build-pass
|
||||||
//@ ignore-pass
|
//@ ignore-pass
|
||||||
// ^-- needed because `--pass check` does not emit the output needed.
|
// ^-- needed because `--pass check` does not emit the output needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user