summary refs log tree commit diff
path: root/tests/ui/panic-runtime
AgeCommit message (Collapse)AuthorLines
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