about summary refs log tree commit diff
path: root/tests/ui/runtime
AgeCommit message (Collapse)AuthorLines
2025-09-26Ignore more failing ui tests for GCC backendGuillaume Gomez-0/+2
2025-09-19Fix test suite in iOS/tvOS/watchOS/visionOS simulatorMads Marquart-0/+6
2025-07-28thread name in stack overflow messagejoboet-3/+9
2025-07-26Rollup merge of #144356 - GuillaumeGomez:gcc-ignore-tests, r=jieyouxuTrevor Gross-0/+2
Add `ignore-backends` annotations in failing GCC backend ui tests Follow-up of https://github.com/rust-lang/rust/pull/144125. In the GCC backend, we don't support all ui tests yet and we have a list of tests we currently ignore available [here](https://github.com/rust-lang/rustc_codegen_gcc/blob/master/tests/failing-ui-tests.txt). This PR adds the `ignore-backends` annotations to the corresponding ui tests. The second commit is a fix to compiletest, complaining about `ignore-backends`. r? ```@jieyouxu```
2025-07-23Add `ignore-backends` annotations in failing GCC backend ui testsGuillaume Gomez-0/+2
2025-07-13Fixes for Arm64ECDaniel Paoliello-1/+2
2025-06-08cleaned up some testsKivooeo-0/+10
2025-05-07[win][arm64] Disable various DebugInfo tests that don't work on Arm64 WindowsDaniel Paoliello-0/+4
2025-04-18rtprintpanic: clarify that the error is aborting the processLieselotte-1/+1
2025-04-17tests: use `//@ ignore-auxiliary` with backlinked primary test fileJieyou Xu-2/+1
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-0/+6
2025-03-12Use sa_sigaction instead of sa_union.__su_sigaction for AIX.Xing Xue-24/+3
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-10/+6
2025-01-21remove support for the #[start] attributeRalf Jung-19/+11
2024-12-28Disable `backtrace-debuginfo.rs` on windows-gnu许杰友 Jieyou Xu (Joe)-0/+4
2024-12-06Replace sa_sigaction with sa_union.__su_sigaction for AIX.Xing Xue-3/+24
2024-10-12std: fix stdout-before-mainjoboet-0/+25
Fixes #130210. Since #124881, `ReentrantLock` uses `ThreadId` to identify threads. This has the unfortunate consequence of breaking uses of `Stdout` before main: Locking the `ReentrantLock` that synchronizes the output will initialize the thread ID before the handle for the main thread is set in `rt::init`. But since that would overwrite the current thread ID, `thread::set_current` triggers an abort. This PR fixes the problem by using the already initialized thread ID for constructing the main thread handle and allowing `set_current` calls that do not change the thread's ID.
2024-05-28Disable stack overflow handler tests on iOS-like platformsMads Marquart-0/+4
2024-05-20Port stdout-during-shutdownBen Kimock-0/+22
2024-05-20Add only-unix to sigpipe testsBen Kimock-0/+5
2024-05-20Fix up a few more testsBen Kimock-6/+1
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-0/+219
In the stabilization attempt of `#[unix_sigpipe = "sig_dfl"]`, a concern was raised related to using a language attribute for the feature: Long term, we want `fn lang_start()` to be definable by any crate, not just libstd. Having a special language attribute in that case becomes awkward. So as a first step towards towards the next stabilization attempt, this PR changes the `#[unix_sigpipe = "..."]` attribute to a compiler flag `-Zon-broken-pipe=...` to remove that concern, since now the language is not "contaminated" by this feature. Another point was also raised, namely that the ui should not leak **how** it does things, but rather what the **end effect** is. The new flag uses the proposed naming. This is of course something that can be iterated on further before stabilization.
2024-03-11Update test directives for `wasm32-wasip1`Alex Crichton-5/+5
* 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)-35/+35
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-2/+0
This is to make the diff when stabilizing it easier to review.
2023-04-03remove invalid ignore-prettyPietro Albini-1/+0
2023-02-28Add QNX Neutrino support to libstdFlorian Bartels-0/+2
Co-authored-by: gh-tr <troach@qnx.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+488