about summary refs log tree commit diff
path: root/tests/run-make/compiler-builtins
AgeCommit message (Collapse)AuthorLines
2025-09-05tests: move `run-make` tests requiring in-tree cargo to `run-make-cargo` ↵Jieyou Xu-125/+0
test suite
2024-09-24Update `run-make` tests to use `cargo` wrapper cmd许杰友 Jieyou Xu (Joe)-33/+23
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-20Pass the current cargo to `run-make` testsJosh Stone-2/+2
A couple tests were using `BOOTSTRAP_CARGO` with `-Zbuild-std`, but that stage0 cargo might not always be in sync with in-tree changes. In particular, those tests started failing on the beta branch because the older cargo couldn't find the library `Cargo.lock`, and then couldn't build the latest version of `compiler_builtins` that had nightly changes.
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-17tests: update for `rfs` rename许杰友 Jieyou Xu (Joe)-1/+1
2024-07-17tests: update for renamed `fs` module in run_make_support许杰友 Jieyou Xu (Joe)-1/+1
2024-06-11Implement fs wrapper for run_make_supportOneirical-3/+3
2024-06-11tests/run-make: update tests to use new API许杰友 Jieyou Xu (Joe)-1/+1
2024-06-08Migrate runmake tests away from custom commands and `command_output`Jakub Beránek-6/+3
2024-06-07Remove all usages of `tmp_dir` from testsJakub Beránek-15/+11
2024-06-04Auto merge of #125989 - GuillaumeGomez:rollup-xu69i13, r=GuillaumeGomezbors-5/+5
Rollup of 11 pull requests Successful merges: - #106186 (Add function `core::iter::chain`) - #125596 (Convert `proc_macro_back_compat` lint to an unconditional error.) - #125696 (Explain differences between `{Once,Lazy}{Cell,Lock}` types) - #125917 (Create `run-make` `env_var` and `env_var_os` helpers) - #125927 (Ignore `vec_deque_alloc_error::test_shrink_to_unwind` test on non-unwind targets) - #125930 (feat(opt-dist): new flag `--benchmark-cargo-config`) - #125932 (Fix typo in the docs of `HashMap::raw_entry_mut`) - #125933 (Update books) - #125944 (Update fuchsia maintainers) - #125946 (Include trailing commas in wrapped function declarations [RustDoc]) - #125973 (Remove `tests/run-make-fulldeps/pretty-expanded`) Failed merges: - #125815 (`rustc_parse` top-level cleanups) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-04Create `run-make` `env_var` and `env_var_os` helpersGuillaume Gomez-5/+5
2024-06-04compiler-builtins: don't clear env vars for cargo invocation许杰友 Jieyou Xu (Joe)-1/+0
2024-05-03Allow `fmt` to run on `rmake.rs` test filesGuillaume Gomez-16/+16
2024-05-02Cleanup: Rid the `rmake` test runners of `extern crate run_make_support;`León Orell Valerian Liehr-2/+0
2024-04-25Keep the LIB env var in the compiler-builtins testDaniel Paoliello-1/+4
2024-04-10Set the host library path in run-make v2Josh Stone-5/+6
When the build is configured with `[rust] rpath = false`, we need to set `LD_LIBRARY_PATH` (or equivalent) to what would have been the `RPATH`, so the compiler can find its own libraries. The old `tools.mk` code has this environment prefixed in the `$(BARE_RUSTC)` variable, so we just need to wire up something similar for run-make v2. This is now set while building each `rmake.rs` itself, as well as in the `rust-make-support` helpers for `rustc` and `rustdoc` commands. This is also available in a `set_host_rpath` function for manual commands, like in the `compiler-builtins` test.
2024-03-27Use compiletest directives for ignoring targets许杰友 Jieyou Xu (Joe)-4/+4
2024-03-24Rework rmake support library to have a weakly-typed API with helper methods许杰友 Jieyou Xu (Joe)-4/+4
2024-03-20Add a testBen Kimock-0/+142