about summary refs log tree commit diff
path: root/tests/run-make
AgeCommit message (Collapse)AuthorLines
2024-06-17Rewrite and rename `issue-26092` to rmakeOneirical-51/+33
2024-06-17rewrite incremental-session-fail to rmakeOneirical-36/+34
2024-06-17rewrite `link-dedup` to rmakeOneirical-0/+32
2024-06-17Rewrite `link-arg` in rmake.rsOneirical-5/+24
2024-06-17Add missing test annotationGuillaume Gomez-0/+2
2024-06-17Migrate `run-make/used` to `rmake.rs`Guillaume Gomez-7/+15
2024-06-16Auto merge of #126542 - ↵bors-5/+6
GuillaumeGomez:migrate-run-make-duplicate-output-flavors, r=Kobzol Migrate `run-make/duplicate-output-flavors` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-16Migrate `run-make/duplicate-output-flavors` to `rmake.rs`Guillaume Gomez-5/+6
2024-06-15Rollup merge of #126517 - GuillaumeGomez:migrate-run-make-dep-graph, r=KobzolGuillaume Gomez-12/+18
Migrate `run-make/dep-graph` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-15Rollup merge of #126478 - ↵Guillaume Gomez-34/+56
GuillaumeGomez:migrate-run-make-codegen-options-parsing, r=jieyouxu Migrate `run-make/codegen-options-parsing` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-15Migrate `run-make/dep-graph` to `rmake.rs`Guillaume Gomez-12/+18
2024-06-15Auto merge of #122613 - Zalathar:profiler, r=nnethercotebors-28/+1
Don't build a broken/untested profiler runtime on mingw targets Context: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Why.20build.20a.20broken.2Funtested.20profiler.20runtime.20on.20mingw.3F #75872 added `--enable-profiler` to the `x86_64-mingw` job (to cause some additional tests to run), but had to also add `//@ ignore-windows-gnu` to all of the tests that rely on the profiler runtime actually *working*, because it's broken on that target. We can achieve a similar outcome by going through all the `//@ needs-profiler-support` tests that don't actually need to produce/run a binary, and making them use `-Zno-profiler-runtime` instead, so that they can run even in configurations that don't have the profiler runtime available. Then we can remove `--enable-profiler` from `x86_64-mingw`, and still get the same amount of testing. This PR also removes `--enable-profiler` from the mingw dist builds, since it is broken/untested on that target. Those builds have had that flag for a very long time.
2024-06-14rewrite native-link-modifier-verbatim-rustc to rmakeOneirical-12/+44
2024-06-14rewrite output-filename-overwrites-input to rmakeOneirical-14/+21
2024-06-14rewrite output-filename-conflicts-with-directory to rmakeOneirical-7/+11
2024-06-14rewrite error-found-staticlib-instead-crate to rmakeOneirical-5/+11
2024-06-14rewrite incremental-debugger-visualiser to rmakeOneirical-49/+61
2024-06-14rewrite extern-flag-fun to rmakeOneirical-20/+36
2024-06-14Pass target to run-make issue-47551Ana Hobden-1/+2
2024-06-14rewrite invalid-staticlib to rmakeOneirical-5/+17
2024-06-14rewrite and rename issue-64153 to rmake.rsOneirical-26/+37
2024-06-14Migrate `run-make/codegen-options-parsing` to `rmake.rs`Guillaume Gomez-34/+56
2024-06-14Auto merge of #126463 - matthiaskrgr:rollup-lnkfibf, r=matthiaskrgrbors-17/+0
Rollup of 5 pull requests Successful merges: - #124884 (place explicit lifetime bound after generic param) - #126343 (Remove some msys2 utils) - #126351 (std::unix::fs::link using direct linkat call for Solaris.) - #126368 (Remove some unnecessary crate dependencies.) - #126386 (Migrate `run-make/allow-non-lint-warnings-cmdline` to `rmake.rs`) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-14Remove `//@ ignore-windows-gnu` from tests that need the profilerZalathar-25/+0
The profiler runtime is no longer built in mingw test jobs, so these tests should naturally be skipped by `//@ needs-profiler-support`.
2024-06-14Use `-Zno-profiler-runtime` instead of `//@ needs-profiler-support`Zalathar-3/+1
For PGO/coverage tests that don't need to build or run an actual artifact, we can use `-Zno-profiler-runtime` to run the test even when the profiler runtime is not available.
2024-06-13Migrate `run-make/const_fn_mir` to `rmake.rs`Guillaume Gomez-6/+8
2024-06-13Make `run-make/allow-non-lint-warnings-cmdline` into a ui testGuillaume Gomez-13/+0
2024-06-13Migrate `run-make/allow-non-lint-warnings-cmdline` to `rmake.rs`Guillaume Gomez-12/+8
2024-06-13Auto merge of #126374 - workingjubilee:rollup-tz0utfr, r=workingjubileebors-33/+53
Rollup of 10 pull requests Successful merges: - #125674 (Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format) - #125688 (Walk into alias-eq nested goals even if normalization fails) - #126142 (Harmonize using root or leaf obligation in trait error reporting) - #126303 (Urls to docs in rust_hir) - #126328 (Add Option::is_none_or) - #126337 (Add test for walking order dependent opaque type behaviour) - #126353 (Move `MatchAgainstFreshVars` to old solver) - #126356 (docs(rustc): Improve discoverable of Cargo docs) - #126358 (safe transmute: support `Single` enums) - #126362 (Make `try_from_target_usize` method public) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-12Rollup merge of #125674 - Oneirical:another-day-another-test, r=jieyouxuJubilee-33/+53
Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). try-job: x86_64-msvc
2024-06-13Auto merge of #125165 - Oneirical:pgo-branch-weights, r=jieyouxubors-35/+45
Migrate `run-make/pgo-branch-weights` to `rmake` Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). This is a scary one and I expect things to break. Set as draft, because this isn't ready. - [x] There is this comment here, which suggests the test is excluded from the testing process due to a platform specific issue? I can't see anything here that would cause this test to not run... > // FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works // properly. Since we only have GCC on the CI ignore the test for now." EDIT: This is specific to Windows-gnu. - [x] The Makefile has this line: ``` ifneq (,$(findstring x86,$(TARGET))) COMMON_FLAGS=-Clink-args=-fuse-ld=gold ``` I honestly can't tell whether this is checking if the target IS x86, or IS NOT. EDIT: It's checking if it IS x86. - [x] I don't know why the Makefile was trying to pass an argument directly in the Makefile instead of setting that "aaaaaaaaaaaa2bbbbbbbbbbbb2bbbbbbbbbbbbbbbbcc" input as a variable in the Rust program directly. I changed that, let me know if that was wrong. - [x] Trying to rewrite `cat "$(TMPDIR)/interesting.ll" | "$(LLVM_FILECHECK)" filecheck-patterns.txt` resulted in some butchery. For starters, in `tools.mk`, LLVM_FILECHECK corrects its own backslashes on Windows distributions, but there is no further mention of it, so I assume this is a preset environment variable... but is it really? Then, the command itself uses a Standard Input and a passed input file as an argument simultaneously, according to the [documentation](https://llvm.org/docs/CommandGuide/FileCheck.html#synopsis). try-job: aarch64-gnu
2024-06-12Rollup merge of #126036 - Oneirical:the-intelligent-intestor, r=jieyouxuMichael Goulet-46/+42
Migrate `run-make/short-ice` to `rmake` Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). try-job: x86_64-msvc
2024-06-12rewrite output-with-hyphens to rmake formatOneirical-18/+29
2024-06-12rewrite inaccessible-temp-dir to rmake formatOneirical-32/+44
2024-06-12rewrite and rename issue-10971-temps-dir to rmake formatOneirical-10/+22
2024-06-12port symlinked-libraries to rmakeOneirical-25/+25
2024-06-12port symlinked-rlib to rmakeOneirical-22/+17
2024-06-12port symlinked-extern to rmakeOneirical-0/+25
2024-06-12rewrite pgo-branch-weights to rmakeOneirical-35/+45
2024-06-12Use `fs_wrapper` in `run-make/prefer-dylib`Guillaume Gomez-3/+2
2024-06-12Remove unused import in `run-make/prefer-dylib/rmake.rs`Guillaume Gomez-5/+3
2024-06-12Migrate `run-make/prefer-rlib` to `rmake.rs`Guillaume Gomez-9/+16
2024-06-11Rollup merge of #126174 - GuillaumeGomez:migrate-run-make-prefer-dylib, ↵许杰友 Jieyou Xu (Joe)-9/+16
r=jieyouxu Migrate `tests/run-make/prefer-dylib` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? ```@jieyouxu```
2024-06-11Add set_backtrace_level helper function to run_make_supportOneirical-13/+24
2024-06-11Auto merge of #125736 - Oneirical:run-make-file-management, r=jieyouxubors-94/+90
run-make-support: add wrapper for `fs` operations Suggested by #125728. The point of this wrapper is to stop silent fails caused by forgetting to `unwrap` `fs` functions. However, functions like `fs::read` which return something and get stored in a variable should cause a failure on their own if they are not unwrapped (as the `Result` will be stored in the variable, and something will be done on that `Result` that should have been done to its contents). Is it still pertinent to wrap `fs::read_to_string`, `fs::metadata` and so on? Closes: https://github.com/rust-lang/rust/issues/125728 try-job: x86_64-msvc try-job: i686-mingw
2024-06-11Implement fs wrapper for run_make_supportOneirical-94/+90
2024-06-11Auto merge of #126274 - jieyouxu:rollup-uj93sfm, r=jieyouxubors-7/+13
Rollup of 5 pull requests Successful merges: - #126186 (Migrate `run-make/multiple-emits` to `rmake.rs`) - #126236 (Delegation: fix ICE on recursive delegation) - #126254 (Remove ignore-cross-compile directive from ui/macros/proc_macro) - #126258 (Do not define opaque types when selecting impls) - #126265 (interpret: ensure we check bool/char for validity when they are used in a cast) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-11Rollup merge of #126186 - GuillaumeGomez:migrate-run-make-multiple-emits, ↵许杰友 Jieyou Xu (Joe)-7/+13
r=jieyouxu Migrate `run-make/multiple-emits` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-06-11Migrate `tests/run-make/prefer-dylib` to `rmake.rs`Guillaume Gomez-9/+16
2024-06-11Migrate `run-make/multiple-emits` to `rmake.rs`Guillaume Gomez-7/+13