about summary refs log tree commit diff
path: root/tests/ui-fulldeps/auxiliary
AgeCommit message (Collapse)AuthorLines
2025-09-09Strip frontmatter in fewer placesLeón Orell Valerian Liehr-1/+2
2025-08-09remove `P`Deadbeef-2/+1
2025-07-08Expose nested bodies in rustc_borrowck::consumersNico Lehmann-0/+4
2025-06-13Add AST pretty-printer tests involving attr precedenceDavid Tolnay-4/+38
This test currently fails (as expected). --- stderr ------------------------------- Pretty-printer lost necessary parentheses BEFORE: (#[attr] loop {}).field AFTER: #[attr] loop {}.field ------------------------------------------
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-2/+0
It's no longer necessary after the removal of nonterminal tokens in #124141.
2024-12-21Extract ui-fulldeps expression parser into moduleDavid Tolnay-0/+51
2024-06-07Port `tests/run-make-fulldeps/obtain-borrowck` to ui-fulldepsZalathar-0/+34
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2023-04-17Support `x test --stage 1 ui-fulldeps`jyn-314/+0
Nils had an excellent idea the other day: the same way that rustdoc is able to load `rustc_driver` from the sysroot, ui-fulldeps tests should also be able to load it from the sysroot. That allows us to run fulldeps tests with stage1, without having to fully rebuild the compiler twice. It does unfortunately have the downside that we're running the tests on the *bootstrap* compiler, not the in-tree sources, but since most of the fulldeps tests are for the *API* of the compiler, that seems ok. I think it's possible to extend this to `run-make-fulldeps`, but I've run out of energy for tonight. - Move `plugin` tests into a subdirectory. Plugins are loaded at runtime with `dlopen` and so require the ABI of the running compile to match the ABI of the compiler linked with `rustc_driver`. As a result they can't be supported in stage 1 and have to use `// ignore-stage1`. - Remove `ignore-stage1` from most non-plugin tests - Ignore diagnostic tests in stage 1. Even though this requires a stage 2 build to load rustc_driver, it's primarily testing the error message that the *running* compiler emits when the diagnostic struct is malformed. - Pass `-Zforce-unstable-if-unmarked` in stage1, not just stage2. That allows running `hash-stable-is-unstable` in stage1, since it now suggests adding `rustc_private` to enable loading the crates. - Add libLLVM.so to the stage0 target sysroot, to allow fulldeps tests that act as custom drivers to load it at runtime. - Pass `--sysroot stage0-sysroot` in compiletest so that we use the correct version of std.
2023-04-13Move most ui-fulldeps tests to uijyn-66/+0
They pass fine. Only tests that required `extern crate rustc_*` or were marked `ignore-stage1` have been keep in fulldeps.
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-87/+5
2023-01-28Adapt ui-fulldeps.Camille GILLOT-1/+3
2023-01-11Move /src/test to /testsAlbert Larsan-0/+467