about summary refs log tree commit diff
path: root/tests/ui/panic-runtime
AgeCommit message (Collapse)AuthorLines
2025-09-26Ignore more failing ui tests for GCC backendGuillaume Gomez-0/+1
2025-09-21Add panic=immediate-abortBen Kimock-4/+148
2025-07-23Add `ignore-backends` annotations in failing GCC backend ui testsGuillaume Gomez-0/+4
2025-06-27Rollup merge of #140809 - bjorn3:panic_runtime_cleanup, r=petrochenkovMatthias Krüger-23/+0
Reduce special casing for the panic runtime See the individual commits for more info.
2025-06-24Remove dependency injection for the panic runtimebjorn3-23/+0
This used to be necessary for a correct linker order, but ever since the introduction of symbols.o adding the symbols in question to symbols.o would work just as well. We do still add dependencies on the panic runtime to the local crate, but not for #![needs_panic_runtime] crates. This also removes the runtime-depends-on-needs-runtime test. inject_dependency_if used to emit this error, but with symbols.o it is no longer important that there is no dependency and in fact it may be nice to have panic_abort and panic_unwind directly depend on libstd in the future for calling std::process::abort().
2025-06-24Fix function signature for rust_eh_personalitybjorn3-1/+9
While cg_llvm is very lax about mismatched function signatures, cg_clif will crash when there is any mismatch. It could be turned into an error, but without Cranelift changes can't just be ignored.
2025-05-03tests: justify why `want-abort-got-unwind{,2}.rs` ignore additional errorsJieyou Xu-10/+18
2025-05-03tests: explain why `two-panic-runtimes.rs` ignores target-dependent errorsJieyou Xu-5/+9
2025-04-13Rollup merge of #139618 - petrochenkov:virsugg, r=jieyouxuChris Denton-3/+3
compiletest: Make `SUGGESTION` annotations viral If one of them is expected in a test file, then others should be annotated as well, in the same way as with `HELP`s and `NOTE`s. This doesn't require much of an additional annotation burden, but simplifies the rules. r? ```@jieyouxu```
2025-04-10compiletest: Trim the value of `dont-require-annotations`Vadim Petrochenkov-3/+3
2025-04-10tests: use specific-purpose `needs-crate-type` over `ignore-$target` directivesJieyou Xu-3/+1
Not all existing tests are converted, I only updated ones that I can easily find via directive comments.
2025-04-09Migrate some tests to `dont-require-annotations`Vadim Petrochenkov-12/+12
2025-04-03Fix up tests on wasm and msvc, and rebase conflictsVadim Petrochenkov-8/+23
Can be fixed properly later by adding a new flag for non-exhaustive line annotation checking
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-12/+31
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-4/+4
2025-01-23tests: cleanup `tests/ui/panic-runtime/abort-link-to-unwinding-crates.rs`许杰友 Jieyou Xu (Joe)-4/+2
- Ignore unused value, remove `#![allow(unused_variable)]`. - Replace `ignore-*` with `needs-subprocess`.
2025-01-23tests: cleanup `tests/ui/panic-runtime/lto-abort.rs`许杰友 Jieyou Xu (Joe)-4/+2
- Ignore unused value, remove `#![allow(unused_variable)]`. - Replace `ignore-*` with `needs-subprocess`.
2025-01-23tests: cleanup `tests/ui/panic-runtime/abort.rs`许杰友 Jieyou Xu (Joe)-4/+2
- Ignore unused value, remove `#![allow(unused_variable)]`. - Replace `ignore-*` with `needs-subprocess`.
2025-01-23tests: cleanup `tests/ui/panic-runtime/lto-unwind.rs`许杰友 Jieyou Xu (Joe)-5/+2
- Ignore an unused variable and remove `#![allow(unused_variables)]`. - Replace `ignore-*` with `needs-subprocess`.
2024-05-28Enable a few tests on macOSMads Marquart-7/+2
2024-03-11Update test directives for `wasm32-wasip1`Alex Crichton-3/+3
* The WASI targets deal with the `main` symbol a bit differently than native so some `codegen` and `assembly` tests have been ignored. * All `ignore-emscripten` directives have been updated to `ignore-wasm32` to be more clear that all wasm targets are ignored and it's not just Emscripten. * Most `ignore-wasm32-bare` directives are now gone. * Some ignore directives for wasm were switched to `needs-unwind` instead. * Many `ignore-wasm32*` directives are removed as the tests work with WASI as opposed to `wasm32-unknown-unknown`.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-125/+125
2024-01-13Bless testsGeorge-lewis-0/+2
Update tests
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-04-29Update testsGary Guo-1/+0
2023-03-13remove need for test expectationsRémy Rakic-0/+1
2023-03-13fix error patternRémy Rakic-1/+1
2023-03-13fix ignore header in MSVC testRémy Rakic-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+586