about summary refs log tree commit diff
path: root/tests/run-make
AgeCommit message (Collapse)AuthorLines
2024-05-30rewrite bare-outfile testOneirical-9/+15
2024-05-30rewrite emit testOneirical-22/+19
2024-05-30ignore whitespace in ldd testslcnr-3/+3
2024-05-30add info to rust-ldd tests failureslcnr-17/+24
2024-05-30Rollup merge of #125723 - GuillaumeGomez:migrate-run-make-crate-data-smoke, ↵León Orell Valerian Liehr-10/+43
r=jieyouxu Migrate `run-make/crate-data-smoke` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? ``@jieyouxu``
2024-05-30Rollup merge of #125662 - Oneirical:more-tests-again, r=jieyouxuLeón Orell Valerian Liehr-29/+15
Rewrite `fpic`, `simple-dylib` and `issue-37893` `run-make` tests in `rmake.rs` or ui test 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).
2024-05-30Rollup merge of #125653 - GuillaumeGomez:migrate-const-prop-lint, r=jieyouxuLeón Orell Valerian Liehr-9/+18
Migrate `run-make/const-prop-lint` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? ``@jieyouxu``
2024-05-29Auto merge of #125732 - matthiaskrgr:rollup-bozbtk3, r=matthiaskrgrbors-2/+0
Rollup of 7 pull requests Successful merges: - #124655 (Add `-Zfixed-x18`) - #125693 (Format all source files in `tests/coverage/`) - #125700 (coverage: Avoid overflow when the MC/DC condition limit is exceeded) - #125705 (Reintroduce name resolution check for trying to access locals from an inline const) - #125708 (tier 3 target policy: clarify the point about producing assembly) - #125715 (remove unneeded extern crate in rmake test) - #125719 (Extract coverage-specific code out of `compiletest::runtest`) r? `@ghost` `@rustbot` modify labels: rollup
2024-05-29Rollup merge of #125715 - lqd:rmake-cleanup, r=jieyouxuMatthias Krüger-2/+0
remove unneeded extern crate in rmake test Cleanup requested in https://github.com/rust-lang/rust/pull/125493#discussion_r1618644630 r? jieyouxu ``@bors`` rollup=always
2024-05-29Add `run-make-support::rust_lib_name`Guillaume Gomez-3/+3
2024-05-29rewrite and rename issue-37893 to rmakeOneirical-5/+15
2024-05-29convert fpic to ui testOneirical-12/+0
2024-05-29convert simple-dylib to ui testOneirical-12/+0
2024-05-29Migrate `run-make/crate-data-smoke` to `rmake.rs`Guillaume Gomez-10/+43
2024-05-29Convert windows-binary-no-external-deps to rmakeChris Denton-9/+21
2024-05-29Convert run-make/windows-safeseh to rmakeChris Denton-19/+15
2024-05-29Convert run-make/windows-spawn to rmakeChris Denton-14/+21
2024-05-29Rename run-make/issue-85441 and convert to rmakeChris Denton-9/+32
2024-05-29Move run-make windows_subsystem tests to ui testsChris Denton-12/+0
2024-05-29Migrate `run-make/const-prop-lint` to `rmake.rs`Guillaume Gomez-9/+18
2024-05-29remove unneeded extern crate in rmake testRémy Rakic-2/+0
2024-05-29Rollup merge of #125638 - Oneirical:lets-find-some-tests, r=jieyouxu许杰友 Jieyou Xu (Joe)-51/+29
Rewrite `lto-smoke`, `simple-rlib` and `mixing-deps` `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).
2024-05-29Rollup merge of #125226 - madsmtm:fix-mac-catalyst-tests, r=workingjubilee许杰友 Jieyou Xu (Joe)-10/+10
Make more of the test suite run on Mac Catalyst Combined with https://github.com/rust-lang/rust/pull/125225, the only failing parts of the test suite are in `tests/rustdoc-js`, `tests/rustdoc-js-std` and `tests/debuginfo`. Tested with: ```console ./x test --target=aarch64-apple-ios-macabi library/std ./x test --target=aarch64-apple-ios-macabi --skip=tests/rustdoc-js --skip=tests/rustdoc-js-std --skip=tests/debuginfo tests ``` Will probably put up a PR later to enable _running_ on (not just compiling for) Mac Catalyst in CI, though not sure where exactly I should do so? `src/ci/github-actions/jobs.yml`? Note that I've deliberately _not_ enabled stack overflow handlers on iOS/tvOS/watchOS/visionOS (see https://github.com/rust-lang/rust/issues/25872), but rather just skipped those tests, as it uses quite a few APIs that I'd be weary about getting rejected by the App Store (note that Swift doesn't do it on those platforms either). r? ``@workingjubilee`` CC ``@thomcc`` ``@rustbot`` label O-ios O-apple
2024-05-29Rollup merge of #124320 - Urgau:print-check-cfg, r=petrochenkov许杰友 Jieyou Xu (Joe)-0/+107
Add `--print=check-cfg` to get the expected configs This PR adds a new `--print` variant `check-cfg` to get the expected configs. Details and rational can be found on the MCP: https://github.com/rust-lang/compiler-team/issues/743 ``@rustbot`` label +F-check-cfg +S-waiting-on-MCP r? ``@petrochenkov``
2024-05-28rewrite incr-prev-body-beyond-eof in rmakeOneirical-19/+32
2024-05-28rewrite resolve-rename in rmakeOneirical-7/+15
2024-05-28Rewrite simple-rlib to rmakeOneirical-15/+4
2024-05-28Make more of the test suite run on Mac CatalystMads Marquart-10/+10
This adds the `only-apple`/`ignore-apple` compiletest directive, and uses that basically everywhere instead of `only-macos`/`ignore-macos`. Some of the updates in `run-make` are a bit redundant, as they use `ignore-cross-compile` and won't run on iOS - but using Apple in these is still more correct, so I've made that change anyhow.
2024-05-28Migrate `run-make/allow-warnings-cmdline-stability` to `rmake.rs`Guillaume Gomez-16/+11
2024-05-27rewrite mixing-deps in rmakeOneirical-8/+15
2024-05-27rewrite lto-smoke to rmakeOneirical-31/+13
2024-05-27Rollup merge of #125542 - ↵Matthias Krüger-32/+49
GuillaumeGomez:migrate-rustdoc-verify-output-files, r=jieyouxu Migrate rustdoc verify output files Part of https://github.com/rust-lang/rust/issues/121876. r? ```@jieyouxu```
2024-05-27Migrate `run-make/rustdoc-verify-output-files` to `rmake.rs`Guillaume Gomez-32/+49
2024-05-27Rollup merge of #125607 - GuillaumeGomez:migrate-compile-stdin, r=jieyouxuGuillaume Gomez-9/+13
Migrate `run-make/compile-stdin` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-05-27Migrate `run-make/compile-stdin` to `rmake.rs`Guillaume Gomez-9/+13
2024-05-26Auto merge of #125518 - saethlin:check-arguments-new-in-const, r=joboetbors-2/+2
Move the checks for Arguments constructors to inline const Thanks `@Skgland` for pointing out this opportunity: https://github.com/rust-lang/rust/pull/117804#discussion_r1612964362
2024-05-25Auto merge of #121571 - clarfonthey:unchecked-math-preconditions, r=saethlinbors-6/+2
Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methods (Old PR is haunted, opening a new one. See #117494 for previous discussion.) This ensures that these preconditions are actually checked in debug mode, and hopefully should let people know if they messed up. I've also replaced the calls (I could find) in the code that use these intrinsics directly with those that use these methods, so that the asserts actually apply. More discussions on people misusing these methods in the tracking issue: https://github.com/rust-lang/rust/issues/85122.
2024-05-24Stabilize the runtime of libtest-paddingBen Kimock-6/+2
The body of these benchmarks is close to empty but not literally empty. This was making the runtime of the benchmarks (which are compiled without optimizations!) flicker between 9 ns and 10 ns runtime, which changes the padding and breaks the test. Recent changes to the standard library have pushed the runtime closer to 10 ns when unoptimized, which is why we haven't seen such failures before in CI. Contributors can also induce such failures before this PR by running the run-make tests while the system is under heavy load.
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-2/+2
2024-05-24Migrate `run-make/rustdoc-with-output-dir-option` to `rmake.rs`Guillaume Gomez-8/+16
2024-05-23Rollup merge of #125445 - GuillaumeGomez:rustdoc-migrate-short-out-dir, ↵Guillaume Gomez-8/+16
r=jieyouxu Migrate `run-make/rustdoc-with-short-out-dir-option` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `@jieyouxu`
2024-05-23Rollup merge of #125401 - ↵León Orell Valerian Liehr-19/+64
GuillaumeGomez:migrate-rustdoc-scrape-examples-macros, r=jieyouxu Migrate `run-make/rustdoc-scrape-examples-macros` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? `````@jieyouxu`````
2024-05-23Rollup merge of #125227 - Oneirical:seventh, r=jieyouxuLeón Orell Valerian Liehr-36/+38
Migrate `run-make/issue-30063` 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). (Sorry about the [inconvenience](https://github.com/rust-lang/rust/pull/125224#issuecomment-2118340932) of all these PRs, this is the last one batched for today. I will discuss how we can cut these down a bit.) The last check was previously commented out in the Makefile, and I have readded it. If it fails the CI, this can be reconsidered.
2024-05-23Rollup merge of #125224 - Oneirical:sixth, r=jieyouxuLeón Orell Valerian Liehr-5/+12
Migrate `run-make/issue-53964` 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 extremely similar to #125146. Could it be interesting to merge the two in some way? This one seems to do the same thing as the #125146, but with an added check that a useless lint is not shown.
2024-05-23Rollup merge of #125421 - Oneirical:bundle-them-yet-again, r=jieyouxuMatthias Krüger-26/+69
Rewrite `core-no-oom-handling`, `issue-24445` and `issue-38237` `run-make` tests to new `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). The test which is now called `non-pie-thread-local` has an unexplained "only-linux" flag. Could it be worth trying to remove it and changing the CI to test non-Linux platforms on it?
2024-05-23Migrate `run-make/rustdoc-with-short-out-dir-option` to `rmake.rs`Guillaume Gomez-8/+16
2024-05-23Rollup merge of #125222 - Oneirical:fifth, r=jieyouxuMatthias Krüger-14/+0
Migrate `run-make/issue-46239` 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).
2024-05-22Rewrite and rename `issue-38237` to rmakeOneirical-18/+26
2024-05-22rewrite and rename issue-46239Oneirical-14/+0
2024-05-22rewrite and rename issue-53964Oneirical-5/+12