summary refs log tree commit diff
path: root/src/tools/run-make-support
AgeCommit message (Collapse)AuthorLines
2024-08-29Update the `wasm-component-ld` binary dependencyAlex Crichton-1/+1
This keeps it up-to-date by moving from 0.5.6 to 0.5.7. While here I've additionally updated some other wasm-related dependencies in the workspace to keep them up-to-date and try to avoid duplicate versions as well.
2024-08-23Auto merge of #128507 - Oneirical:testart-from-scratch, r=jieyouxubors-0/+2
Migrate `libtest-thread-limit` `run-make` test 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). Please try, but **only if normal CI is green**: // try-job: armhf-gnu // <- failed on this try-job: aarch64-gnu
2024-08-23rewrite libtest-thread-limit to rmakeOneirical-0/+2
2024-08-23Rollup merge of #129433 - GrigorenkoPV:run-make-support-path-rustdoc, r=jieyouxuMatthias Krüger-0/+1
Fix a missing import in a doc in run-make-support
2024-08-23Rollup merge of #129055 - Oneirical:fortanix-fortification, r=jieyouxuMatthias Krüger-1/+9
Migrate `x86_64-fortanix-unknown-sgx-lvi` `run-make` test 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). The final Makefile! Every Makefile test is now claimed. This is difficult to test due to the uncommon architecture it is specific to. I don't think it is in the CI (I didn't find it in `jobs.yml`, but if there is a way to test it, please do. Locally, on Linux, it compiles and panics at the `llvm_filecheck` part (if I replace the `x86_64-fortanix-unknown-sgx` with `x86_64-unknown-linux-gnu`, of course), which is expected. For this reason, the Makefile and associated script have been kept, but with a leading underscore.
2024-08-23Fix a missing import in a doc in run-make-supportPavel Grigorenko-0/+1
2024-08-22rewrite x86_64-fortanix-unknown-sgx-lvi to rmakeOneirical-1/+9
2024-08-21Rollup merge of #129363 - Urgau:run-make-lc_all-c, r=jieyouxuMatthias Krüger-0/+2
Force `LC_ALL=C` for all run-make tests This PR adds `LC_ALL=C` for all run-make tests so that they become locale independent. Fixes #129362 r? `@jieyouxu`
2024-08-21Force `LC_ALL=C` for all run-make testsUrgau-0/+2
2024-08-18Update some dependency versions that allow better licensingTrevor Gross-1/+1
With the new resolver, a few dependencies get brought in twice with different licenses. For example, all dependencies from `wasm-tools` gained Apache-2.0 and MIT options, and with the v2 resolver we were using one version from before and one version from after this change. This made tidy's license check difficult. Update some minimum versions to remove duplicate dependencies and smooth out license checking.
2024-08-16Reexport `serde_json` crate from run-make-support to give it access to ↵Guillaume Gomez-0/+1
`run-make` tests
2024-08-16Migrate `validate_json.py` script to rust in `run-make/rustdoc-map-file` testGuillaume Gomez-0/+1
2024-08-15Rollup merge of #129018 - Oneirical:nmemonic-artifice, r=jieyouxuJubilee-0/+6
Migrate `rlib-format-packed-bundled-libs` and `native-link-modifier-bundle` `run-make` tests 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). Please try: // try-job: test-various (ATTEMPTED: IGNORE RESTORED) try-job: x86_64-msvc try-job: aarch64-apple try-job: aarch64-gnu try-job: x86_64-mingw try-job: i686-mingw
2024-08-15Rollup merge of #129122 - ↵Matthias Krüger-7/+1
GuillaumeGomez:remove-duplicated-rustdoc-output-methods, r=Kobzol Remove duplicated `Rustdoc::output` method from `run-make-support` lib I discovered recently that `--output` is deprecated in rustdoc and that `--out-dir` is doing the exact same thing. To keep things along with the current rustdoc status, I removed the `Rustdoc::output` method. cc `@jieyouxu` r? `@Kobzol`
2024-08-15rewrite rlib-format-packed-bundled-libs to rmakeOneirical-0/+6
2024-08-15Auto merge of #128936 - bjorn3:fix_thin_archive_reading, r=jieyouxubors-0/+6
Support reading thin archives in ArArchiveBuilder And switch to using ArArchiveBuilder with the LLVM backend too now that all regressions are fixed. Fixes https://github.com/rust-lang/rust/issues/107407 Fixes https://github.com/rust-lang/rust/issues/107162 https://github.com/rust-lang/rust/issues/107495 has been fixed in a previous PR already.
2024-08-15Remove duplicated `Rustdoc::output` method from `run-make-support` libGuillaume Gomez-7/+1
2024-08-15Rollup merge of #128963 - GuillaumeGomez:output-to-stdout, r=aDotInTheVoidMatthias Krüger-0/+15
Add possibility to generate rustdoc JSON output to stdout Fixes #127165. I think it's likely common to want to get rustdoc json output directly instead of reading it from a file so I added this option to allow it. It's unstable and only works with `--output-format=json`. r? `@aDotInTheVoid`
2024-08-14rewrite min-global-align to rmakeOneirical-1/+15
2024-08-14Rollup merge of #128410 - Oneirical:dwarf-fortestress, r=jieyouxuMatthias Krüger-2/+33
Migrate `remap-path-prefix-dwarf` `run-make` test 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). Possibly my proudest branch name yet. try-job: aarch64-apple try-job: armhf-gnu try-job: test-various try-job: x86_64-gnu-llvm-18
2024-08-13Fix blessing of rmake testsZalathar-4/+9
2024-08-13Extract a helper method for blessing in `Diff`Zalathar-16/+19
2024-08-12rewrite remap-path-prefix-dwarf to rmakeOneirical-2/+33
2024-08-12Add `read_dir_entries_recursive` in `run_make_support`Guillaume Gomez-0/+15
2024-08-10Add test for thin archive reading supportbjorn3-0/+6
2024-08-06Rollup merge of #128649 - ChrisDenton:param-passing, r=jieyouxuTrevor Gross-6/+34
run-make: Enable msvc for `no-duplicate-libs` and `zero-extend-abi-param-passing` The common thing between these two tests is to use `#[link(..., kind="static")]` so that it doesn't try to do a DLL import. `zero-extend-abi-param-passing` also needs to have an optimized static library but there's only helper function for a non-optimized version. Rather than copy/pasting the code (and adding the optimization flag) I reused the same code so that it more easily be kept in sync. try-job: i686-msvc try-job: x86_64-msvc
2024-08-05rewrite cdylib-dylib-linkage to rmakeOneirical-4/+22
2024-08-05Auto merge of #127095 - Oneirical:testiary-education, r=jieyouxubors-6/+23
Migrate `reproducible-build-2` and `stable-symbol-names` `run-make` tests 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). Needs try-jobs. try-job: x86_64-msvc try-job: armhf-gnu try-job: test-various try-job: aarch64-apple try-job: i686-msvc try-job: x86_64-mingw
2024-08-04Enable msvc for zero-extend-abi-param-passingChris Denton-6/+34
2024-08-04Remove cygpath from run-make-supportChris Denton-47/+5
2024-08-03Auto merge of #128356 - Oneirical:real-estate-reaLTOr, r=jieyouxubors-2/+9
Migrate `cross-lang-lto-clang` and `cross-lang-lto-pgo-smoketest` `run-make` tests 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 has the same problem outlined by #126180, where the tests do not actually run as no test-running CI enviroment has `RUSTBUILD_FORCE_CLANG_BASED_TESTS` set. However, I still find it interesting to turn the Makefiles into the rmake format until the Clang issue is fixed. This should technically be tested on MSVC... if MSVC actually ran Clang tests. try-job: x86_64-gnu-debug
2024-08-02run cross-lang-lto-pgo-smoketest in CI by renaming itOneirical-7/+6
2024-08-02rewrite cross-lang-lto-pgo-smoketest to rmakeOneirical-2/+3
2024-08-02rewrite cross-lang-lto-clang to rmakeOneirical-0/+7
2024-08-02rewrite foreign-exceptions to rmakeOneirical-45/+18
2024-08-02rewrite foreign-double-unwind to rmakeOneirical-1/+109
2024-08-02Auto merge of #128352 - Oneirical:daLTOnist-vision, r=jieyouxubors-2/+38
Migrate `cross-lang-lto` `run-make` test 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). Please try: try-job: x86_64-msvc try-job: i686-mingw try-job: x86_64-mingw try-job: armhf-gnu try-job: test-various try-job: aarch64-apple try-job: x86_64-gnu-llvm-18
2024-08-02Auto merge of #128147 - lolbinarycat:fmt-write-bloat-rmake, r=jieyouxubors-0/+52
migrate fmt-write-bloat to rmake try-job: aarch64-apple try-job: x86_64-gnu-llvm-18 try-job: dist-x86_64-linux
2024-08-02Auto merge of #127624 - Oneirical:a-test-of-lime, r=jieyouxubors-1/+1
Migrate and rename `issue-47551`, `issue-35164` and `issue-69368` `run-make` tests 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: dist-x86_64-msvc
2024-08-01rewrite stable-symbol-names to rmakeOneirical-28/+23
2024-08-01rewrite reproducible-build-2 to rmakeOneirical-0/+22
2024-08-01Auto merge of #127060 - Oneirical:testificate, r=jieyouxubors-0/+8
Migrate `symbol-visibility` `run-make` test 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). Pretty scary! - The expected number of symbols on each check has been changed slightly to reflect the differences between `llvm_readobj` and `nm`, as I think the former will print hidden symbols once and visible symbols twice, while the latter will only print visible symbols. - The original test ran the same exact checks on `cdylib` twice, for seemingly no reason. I have removed it. - This may be possible to optimize some more? `llvm_readobj` could get called only once for each library type, and the regex could avoid being created repeatedly. I am not sure if these kinds of considerations are important for a `run-make` test. Demands a Windows try-job. try-job: x86_64-mingw
2024-07-31rewrite cross-lang-lto to rmakeOneirical-2/+38
2024-07-31use llvm-nm in symbol-visibility rmake testOneirical-2/+32
2024-07-31Auto merge of #128075 - Oneirical:try-your-damnetest, r=jieyouxubors-5/+97
Migrate `rlib-format-packed-bundled-libs-2`, `native-link-modifier-whole-archive` and `no-builtins-attribute` `run-make` tests 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). Please try: try-job: x86_64-msvc try-job: test-various try-job: armhf-gnu try-job: aarch64-apple try-job: x86_64-gnu-llvm-18
2024-07-30tidybinarycat-1/+2
this commit cannot easily be squashed, since there is already a PR based on the previous commit.
2024-07-30invalid stdout_utf8 handling in run_make_supportOneirical-0/+6
2024-07-30rewrite symbol-visibility to rmakeOneirical-0/+2
2024-07-30migrate fmt-write-bloat to rmakebinarycat-0/+51
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+8
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.