Rollup merge of #123034 - bjorn3:test_ignores, r=compiler-errors
Add a bunch of needs-unwind annotations to tests To filter out tests that fail with cg_clif due to missing panic=unwind support.
This commit is contained in:
commit
4369718980
@ -41,21 +41,6 @@ rm tests/ui/parser/unclosed-delimiter-in-dep.rs # submodule contains //~ERROR
|
||||
# missing features
|
||||
# ================
|
||||
|
||||
# requires stack unwinding
|
||||
# FIXME add needs-unwind to these tests
|
||||
rm -r tests/run-make/libtest-junit
|
||||
rm tests/ui/asm/may_unwind.rs
|
||||
rm tests/ui/stable-mir-print/basic_function.rs
|
||||
|
||||
# extra warning about -Cpanic=abort for proc macros
|
||||
rm tests/ui/proc-macro/crt-static.rs
|
||||
rm tests/ui/proc-macro/proc-macro-deprecated-attr.rs
|
||||
rm tests/ui/proc-macro/quote-debug.rs
|
||||
rm tests/ui/proc-macro/no-missing-docs.rs
|
||||
rm tests/ui/rust-2018/proc-macro-crate-in-paths.rs
|
||||
rm tests/ui/proc-macro/allowed-signatures.rs
|
||||
rm tests/ui/proc-macro/no-mangle-in-proc-macro-issue-111888.rs
|
||||
|
||||
# vendor intrinsics
|
||||
rm tests/ui/simd/array-type.rs # "Index argument for `simd_insert` is not a constant"
|
||||
rm tests/ui/asm/x86_64/evex512-implicit-feature.rs # unimplemented AVX512 x86 vendor intrinsic
|
||||
|
@ -1,4 +1,5 @@
|
||||
# ignore-cross-compile
|
||||
# needs-unwind contains should_panic test
|
||||
include ../tools.mk
|
||||
|
||||
# Test expected libtest's junit output
|
||||
|
@ -1,5 +1,6 @@
|
||||
//@ run-pass
|
||||
//@ needs-asm-support
|
||||
//@ needs-unwind
|
||||
|
||||
#![feature(asm_unwind)]
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
//@ check-pass
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
|
||||
#![crate_type = "proc-macro"]
|
||||
#![allow(private_interfaces)]
|
||||
|
@ -7,6 +7,7 @@
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-dynamic-linking
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
|
||||
#![crate_type = "proc-macro"]
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
//@ build-pass
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
//@ aux-build:exports_no_mangle.rs
|
||||
#![crate_type = "proc-macro"]
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
//@ build-pass (FIXME(62277): could be check-pass?)
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
|
||||
#![crate_type = "proc-macro"]
|
||||
#![deny(missing_docs)]
|
||||
|
@ -1,6 +1,7 @@
|
||||
//@ check-pass
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
|
||||
#![deny(deprecated)]
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ compile-flags: -Z unpretty=expanded
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
//
|
||||
// This file is not actually used as a proc-macro - instead,
|
||||
// it's just used to show the output of the `quote!` macro
|
||||
|
@ -4,6 +4,7 @@
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ compile-flags: -Z unpretty=expanded
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
//
|
||||
// This file is not actually used as a proc-macro - instead,
|
||||
// it's just used to show the output of the `quote!` macro
|
||||
|
@ -1,6 +1,7 @@
|
||||
//@ build-pass (FIXME(62277): could be check-pass?)
|
||||
//@ force-host
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-unwind compiling proc macros with panic=abort causes a warning
|
||||
|
||||
#![crate_type = "proc-macro"]
|
||||
#![deny(rust_2018_compatibility)]
|
||||
|
@ -1,6 +1,7 @@
|
||||
//@ compile-flags: -Z unpretty=stable-mir -Z mir-opt-level=3
|
||||
//@ check-pass
|
||||
//@ only-x86_64
|
||||
//@ needs-unwind unwind edges are different with panic=abort
|
||||
|
||||
fn foo(i: i32) -> i32 {
|
||||
i + 1
|
||||
|
Loading…
Reference in New Issue
Block a user