Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for porting run-make tests to use Rust #121876

Open
jieyouxu opened this issue Mar 1, 2024 · 7 comments
Open

Tracking Issue for porting run-make tests to use Rust #121876

jieyouxu opened this issue Mar 1, 2024 · 7 comments
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. E-help-wanted Call for participation: Help is requested to fix this issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jieyouxu
Copy link
Contributor

jieyouxu commented Mar 1, 2024

We want to stop run-make tests from relying on make, and improve the run-make tests so that
they are more accessible to rustc contributors by allowing the tests to be written in Rust (see
#40713 for context). PR #113026 was merged to address this, and now we are able to write run-make
tests in Rust recipes. We would like your help to port over existing run-make tests still using
Makefiles to use Rust recipes instead.

If you would like to work on porting one of the run-make tests, please link to this issue in your
PR and leave a comment to claim the test (or multiple tests). If you are stuck, please don't hesitate to open a thread
on Rust's Zulip.

run-make is the most flexible fallback test kind, but some run-make tests could be migrated to become e.g. ui tests instead. Please check if you can convert the run-make test into other test kinds before porting!

When you try to port a test, also consider:

  • Add some comments on what the test is trying to test.
  • Add some comments on how the test tries to accomplish its goals if the test is non-trivial. This is especially true if you discovered that a test has platform/compiler/architecture/tooling-specific behavior that is a pain to debug.
  • Any related issues? Any relevant links?
  • Is the test still applicable? Has it become outdated? Is it duplicated?
  • Can it be written in other test suites?

Context: Rust recipes?

PR #113026 adds basic infrastructure support to write run-make tests using small Rust programs,
called recipes.

We aim to eliminate the dependency on make and Makefiles for building run-make-style tests.
Makefiles are replaced by recipes (rmake.rs). The PR implements running run-make recipes in
3 steps:

  1. We build the support library run_make_support which the rmake.rs recipes depend on as a tool
    lib.
  2. We build the recipe rmake.rs and link in the support library.
  3. We run the recipe to build and run the tests.

rmake.rs is basically a replacement for Makefile, and allows running arbitrary Rust code. The
support library is built using cargo, and so can depend on external crates if desired.

The infrastructure implemented by the PR is very barebones, and is the minimally required
infrastructure needed to build, run and pass the two example run-make tests ported over to the new
infrastructure:

You likely will find that you would need to improve the API of the support library, and extend
the functionality of the support library.

Common traps and pitfalls, and tips and tricks

  • $PATH uses ; on Windows and : for *nixes. Use std::env::{join,split}_paths to properly
    handle $PATH.
  • Be careful of path separator platform differences. Always prefer PathBuf operations not string
    paths if possible.
  • tests/ are not (currently) formatted by rustfmt.
  • Consult https://github.com/rust-lang/rust/blob/master/tests/run-make/tools.mk for which flags
    and envs are passed to various executables or libraries. May have to triple check on those.
  • You can always edit PR CI to test out your PR on environments you don't locally have access to. test-various and x86_64-msvc are good targets to include if you do this, for example.

Tests that need porting

  • alloc-no-oom-handling (@abhay-51)
  • alloc-no-rc (@abhay-51)
  • alloc-no-sync (@abhay-51)
  • allocator-shim-circular-deps
  • allow-non-lint-warnings-cmdline
  • allow-warnings-cmdline-stability
  • archive-duplicate-names (@0xhiro)
  • arguments-non-c-like-enum (@jieyouxu)
  • atomic-lock-free
  • bare-outfile
  • branch-protection-check-IBT
  • c-dynamic-dylib
  • c-dynamic-rlib
  • c-link-to-rust-dylib
  • c-link-to-rust-staticlib
  • c-link-to-rust-va-list-fn
  • c-static-dylib
  • c-static-rlib
  • c-unwind-abi-catch-lib-panic
  • c-unwind-abi-catch-panic
  • cat-and-grep-sanity-check
  • cdylib
  • cdylib-dylib-linkage
  • cdylib-fewer-symbols
  • codegen-options-parsing
  • comment-section
  • compile-stdin
  • compiler-lookup-paths
  • compiler-lookup-paths-2
  • compiler-rt-works-on-mingw
  • compressed-debuginfo
  • const-prop-lint
  • const_fn_mir
  • core-no-fp-fmt-parse (@Oneirical)
  • core-no-oom-handling
  • crate-data-smoke
  • crate-hash-rustc-version
  • crate-name-priority
  • cross-lang-lto
  • cross-lang-lto-clang
  • cross-lang-lto-pgo-smoketest
  • cross-lang-lto-upstream-rlibs
  • debug-assertions
  • debugger-visualizer-dep-info
  • dep-graph
  • dep-info
  • dep-info-doesnt-run-much
  • dep-info-spaces
  • doctests-keep-binaries (@GuillaumeGomez) (Migrate run-make/doctests-keep-binaries to new rmake.rs format #124658)
  • doctests-runtool (Migrate run-make/doctests-runtool to rmake #124711)
  • dump-ice-to-disk
  • dump-mono-stats
  • duplicate-output-flavors
  • dylib-chain
  • emit
  • emit-named-files
  • emit-path-unhashed
  • emit-shared-files
  • emit-stack-sizes
  • emit-to-stdout
  • env-dep-info
  • error-found-staticlib-instead-crate
  • error-writing-dependencies
  • exit-code (@5225225)
  • export-executable-symbols
  • extern-diff-internal-name
  • extern-flag-disambiguates
  • extern-flag-fun
  • extern-flag-pathless
  • extern-flag-rename-transitive
  • extern-fn-explicit-align
  • extern-fn-generic
  • extern-fn-mangle
  • extern-fn-reachable
  • extern-fn-struct-passing-abi
  • extern-fn-with-extern-types
  • extern-fn-with-packed-struct
  • extern-fn-with-union
  • extern-multiple-copies
  • extern-multiple-copies2
  • extern-overrides-distribution
  • extra-filename-with-temp-outputs
  • fmt-write-bloat
  • forced-unwind-terminate-pof
  • foreign-double-unwind
  • foreign-exceptions
  • foreign-rust-exceptions
  • fpic
  • git_clone_sha1.sh
  • glibc-staticlib-args
  • hir-tree (@high-cloud)
  • inaccessible-temp-dir
  • include_bytes_deps
  • incr-add-rust-src-component
  • incr-foreign-head-span
  • incr-prev-body-beyond-eof
  • incremental-debugger-visualizer
  • incremental-session-fail
  • inline-always-many-cgu
  • interdependent-c-libraries
  • intrinsic-unreachable
  • invalid-library
  • invalid-so
  • invalid-staticlib
  • issue-7349 (@jieyouxu)
  • issue-10971-temps-dir
  • issue-11908
  • issue-14500
  • issue-14698
  • issue-15460
  • issue-18943
  • issue-20626
  • issue-22131
  • issue-24445
  • issue-25581
  • issue-26006
  • issue-26092
  • issue-28595
  • issue-28766
  • issue-30063
  • issue-33329
  • issue-35164
  • issue-36710
  • issue-37839
  • issue-37893
  • issue-38237
  • issue-40535
  • issue-46239
  • issue-47384
  • issue-47551
  • issue-51671
  • issue-53964
  • issue-64153
  • issue-68794-textrel-on-minimal-lib
  • issue-69368
  • issue-83045
  • issue-83112-incr-test-moved-file
  • issue-84395-lto-embed-bitcode
  • issue-85019-moved-src-dir
  • issue-85401-static-mir
  • issue-85441
  • issue-88756-default-output
  • issue-97463-abi-param-passing
  • issue-107094
  • issue-109934-lto-debuginfo
  • issue64319
  • jobserver-error
  • libs-through-symlinks
  • libtest-json
  • libtest-junit
  • libtest-padding
  • libtest-thread-limit
  • link-arg
  • link-args-order
  • link-cfg
  • link-dedup
  • link-framework
  • link-path-order
  • linkage-attr-on-static
  • llvm-ident
  • llvm-outputs
  • long-linker-command-lines
  • long-linker-command-lines-cmd-exe
  • longjmp-across-rust
  • ls-metadata
  • lto-dylib-dep
  • lto-empty
  • lto-linkage-used-attr
  • lto-no-link-whole-rlib
  • lto-readonly-lib
  • lto-smoke
  • lto-smoke-c
  • macos-deployment-target
  • macos-fat-archive
  • manual-crate-name
  • manual-link
  • many-crates-but-no-match
  • metadata-dep-info
  • metadata-flag-frobs-symbols
  • min-global-align
  • mingw-export-call-convention
  • mismatching-target-triples
  • missing-crate-dependency
  • mixing-deps
  • mixing-formats
  • mixing-libs
  • msvc-opt-minsize
  • multiple-emits
  • native-link-modifier-bundle
  • native-link-modifier-verbatim-linker
  • native-link-modifier-verbatim-rustc
  • native-link-modifier-whole-archive
  • no-alloc-shim
  • no-builtins-attribute
  • no-builtins-lto
  • no-cdylib-as-rdylib
  • no-duplicate-libs
  • no-input-file (@JoverZhang)
  • no-intermediate-extras
  • obey-crate-type-flag
  • optimization-remarks-dir
  • optimization-remarks-dir-pgo
  • output-filename-conflicts-with-directory
  • output-filename-overwrites-input
  • output-type-permutations
  • output-with-hyphens
  • override-aliased-flags
  • overwrite-input
  • panic-abort-eh_frame
  • panic-impl-transitive
  • pass-linker-flags
  • pass-linker-flags-flavor
  • pass-linker-flags-from-dep
  • pass-non-c-like-enum-to-c
  • pdb-buildinfo-cl-cmd
  • pgo-branch-weights
  • pgo-gen
  • pgo-gen-lto
  • pgo-gen-no-imp-symbols
  • pgo-indirect-call-promotion
  • pgo-use
  • pointer-auth-link-with-c
  • prefer-dylib
  • prefer-rlib
  • pretty-print-to-file
  • pretty-print-with-dep-file
  • print-calling-conventions
  • print-cfg (@Urgau)
  • print-native-static-libs (@Urgau)
  • print-target-list
  • profile
  • prune-link-args
  • raw-dylib-alt-calling-convention
  • raw-dylib-c
  • raw-dylib-cross-compilation
  • raw-dylib-custom-dlltool
  • raw-dylib-import-name-type
  • raw-dylib-inline-cross-dylib
  • raw-dylib-link-ordinal
  • raw-dylib-stdcall-ordinal
  • redundant-libs
  • relocation-model
  • relro-levels
  • remap-path-prefix
  • remap-path-prefix-dwarf
  • repr128-dwarf (@beetrees)
  • reproducible-build
  • reproducible-build-2
  • resolve-rename
  • return-non-c-like-enum
  • return-non-c-like-enum-from-c
  • rlib-chain
  • rlib-format-packed-bundled-libs
  • rlib-format-packed-bundled-libs-2
  • rlib-format-packed-bundled-libs-3
  • rmeta-preferred
  • rust-lld
  • rust-lld-custom-target
  • rustc-macro-dep-files
  • rustdoc-determinism (Rewrite rustdoc-determinism test in Rust #124698)
  • rustdoc-error-lines
  • rustdoc-io-error
  • rustdoc-map-file
  • rustdoc-output-path
  • rustdoc-scrape-examples-invalid-expr
  • rustdoc-scrape-examples-macros
  • rustdoc-scrape-examples-multiple
  • rustdoc-scrape-examples-ordering
  • rustdoc-scrape-examples-remap
  • rustdoc-scrape-examples-test
  • rustdoc-scrape-examples-whitespace
  • rustdoc-shared-flags
  • rustdoc-target-spec-json-path
  • rustdoc-themes
  • rustdoc-verify-output-files
  • rustdoc-with-out-dir-option
  • rustdoc-with-output-option
  • rustdoc-with-short-out-dir-option
  • sanitizer-cdylib-link
  • sanitizer-dylib-link
  • sanitizer-staticlib-link
  • separate-link
  • separate-link-fail
  • sepcomp-cci-copies
  • sepcomp-inlining
  • sepcomp-separate
  • share-generics-dylib
  • short-ice
  • silly-file-names
  • simd-ffi
  • simple-dylib
  • simple-rlib
  • split-debuginfo
  • stable-symbol-names
  • static-dylib-by-default
  • static-extern-type
  • static-pie
  • static-unwinding
  • staticlib-blank-lib
  • staticlib-dylib-linkage
  • std-core-cycle
  • stdin-non-utf8 (@Urgau)
  • suspicious-library
  • symbol-mangling-hashed
  • symbol-visibility
  • symbols-include-type-name
  • symlinked-extern
  • symlinked-libraries
  • symlinked-rlib
  • sysroot-crates-are-unstable
  • target-cpu-native
  • target-specs
  • target-without-atomic-cas
  • test-benches
  • test-harness
  • thumb-none-cortex-m
  • thumb-none-qemu
  • tools.mk
  • track-path-dep-info
  • track-pgo-dep-info
  • translation
  • type-mismatch-same-crate-name
  • unknown-mod-stdin
  • unstable-flag-required
  • use-suggestions-rust-2018
  • used
  • used-cdylib-macos
  • valid-print-requests
  • version (@Oneirical)
  • volatile-intrinsics
  • wasm-abi (@alexcrichton)
  • wasm-custom-section (@alexcrichton)
  • wasm-custom-sections-opt (@alexcrichton)
  • wasm-exceptions-nostd
  • wasm-export-all-symbols (@alexcrichton)
  • wasm-import-module (@alexcrichton)
  • wasm-override-linker
  • wasm-panic-small (@alexcrichton)
  • wasm-spurious-import (@alexcrichton)
  • wasm-stringify-ints-small (@alexcrichton)
  • wasm-symbols-different-module (@alexcrichton)
  • wasm-symbols-not-exported (@alexcrichton)
  • wasm-symbols-not-imported (@alexcrichton)
  • weird-output-filenames
  • windows-binary-no-external-deps
  • windows-safeseh
  • windows-spawn
  • windows-subsystem
  • x86_64-fortanix-unknown-sgx-lvi
@jieyouxu jieyouxu added A-testsuite Area: The testsuite used to check the correctness of rustc T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. E-help-wanted Call for participation: Help is requested to fix this issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. labels Mar 1, 2024
@5225225
Copy link
Contributor

5225225 commented Mar 1, 2024

claiming exit-code, looks simple enough

@abhay-51
Copy link

abhay-51 commented Mar 2, 2024

claiming the alloc tests (no oom handling, no rc, no sync)

@high-cloud
Copy link
Contributor

claiming the hir-tree

@0xhiro
Copy link

0xhiro commented Mar 13, 2024

claiming archive-duplicate-names

@JoverZhang
Copy link
Contributor

Hi, I want to claim the no-input-file. And I'll add the diff support.

@workingjubilee workingjubilee added the E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. label Mar 22, 2024
@Oneirical
Copy link
Contributor

Claimed core-no-fp-fmt-parse in my PR, #123180.

@Oneirical
Copy link
Contributor

Claimed version in my PR, #123297.

workingjubilee added a commit to workingjubilee/rustc that referenced this issue Mar 31, 2024
Rewrite `core-no-fp-fmt-parse` test in Rust

Claiming the simple "core-no-fp-fmt-parse" test from rust-lang#121876. `run_make_support` was altered with `arg_path` written in rust-lang#121918 by `@abhay-51,` with additional doc comment.

Preliminary GSoC contribution for the project proposal mentored by `@jieyouxu.`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Mar 31, 2024
Rollup merge of rust-lang#123180 - Oneirical:master, r=Mark-Simulacrum

Rewrite `core-no-fp-fmt-parse` test in Rust

Claiming the simple "core-no-fp-fmt-parse" test from rust-lang#121876. `run_make_support` was altered with `arg_path` written in rust-lang#121918 by `@abhay-51,` with additional doc comment.

Preliminary GSoC contribution for the project proposal mentored by `@jieyouxu.`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Apr 4, 2024
Port hir-tree run-make test to ui test

As part of rust-lang#121876

cc `@jieyouxu`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 4, 2024
Rollup merge of rust-lang#122448 - high-cloud:move-hir-tree, r=oli-obk

Port hir-tree run-make test to ui test

As part of rust-lang#121876

cc `@jieyouxu`
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Apr 5, 2024
…e-enum, r=Mark-Simulacrum

Port argument-non-c-like-enum to Rust

Part of rust-lang#121876.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Apr 5, 2024
…imulacrum

Port `run-make/issue-7349` to a codegen test

The test does not need to be a run-make test, it can use the codegen test infrastructure.

Also took the opportunity to rename the test to `no-redundant-item-monomorphization` so it's not just some opaque issue number.

Part of rust-lang#121876.
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 5, 2024
Rollup merge of rust-lang#123474 - jieyouxu:issue-7349-port, r=Mark-Simulacrum

Port `run-make/issue-7349` to a codegen test

The test does not need to be a run-make test, it can use the codegen test infrastructure.

Also took the opportunity to rename the test to `no-redundant-item-monomorphization` so it's not just some opaque issue number.

Part of rust-lang#121876.
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 5, 2024
Rollup merge of rust-lang#123149 - jieyouxu:rmake-arguments-non-c-like-enum, r=Mark-Simulacrum

Port argument-non-c-like-enum to Rust

Part of rust-lang#121876.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Apr 25, 2024
Rewrite the `no-input-file.stderr` test in Rust and support diff

Rewrite the `no-input-file.stderr` test from rust-lang#121876.
Use the `similar` lib to replace the `diff` command.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Apr 25, 2024
Rewrite the `no-input-file.stderr` test in Rust and support diff

Rewrite the `no-input-file.stderr` test from rust-lang#121876.
Use the `similar` lib to replace the `diff` command.
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 25, 2024
Rollup merge of rust-lang#124257 - JoverZhang:rmake-diff, r=jieyouxu

Rewrite the `no-input-file.stderr` test in Rust and support diff

Rewrite the `no-input-file.stderr` test from rust-lang#121876.
Use the `similar` lib to replace the `diff` command.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Apr 26, 2024
…s, r=jieyouxu

Port run-make `--print=native-static-libs` to rmake.rs

This PR port the run-make `--print=native-static-libs` test to rmake.rs

The dedup was really awful in the `Makefile`, I'm glad to finally have a proper dedup detection for this.

Related to rust-lang#121876

r? `@jieyouxu`
jhpratt added a commit to jhpratt/rust that referenced this issue Apr 26, 2024
…s, r=jieyouxu

Port run-make `--print=native-static-libs` to rmake.rs

This PR port the run-make `--print=native-static-libs` test to rmake.rs

The dedup was really awful in the `Makefile`, I'm glad to finally have a proper dedup detection for this.

Related to rust-lang#121876

r? `@jieyouxu`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 27, 2024
Rollup merge of rust-lang#124383 - Urgau:port-print-native-static-libs, r=jieyouxu

Port run-make `--print=native-static-libs` to rmake.rs

This PR port the run-make `--print=native-static-libs` test to rmake.rs

The dedup was really awful in the `Makefile`, I'm glad to finally have a proper dedup detection for this.

Related to rust-lang#121876

r? `@jieyouxu`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Apr 28, 2024
Port `print-cfg` run-make test to Rust-based rmake.rs

This PR port the `print-cfg` run-make test to Rust-based rmake.rs tests.

The actual test is now split in two:
 - the first part for the `--print=cfg` part
 - and the second part for the `=PATH` part of `--print`

Part of rust-lang#121876.

r? `@jieyouxu`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 28, 2024
Rollup merge of rust-lang#124473 - Urgau:port-print-cfg, r=jieyouxu

Port `print-cfg` run-make test to Rust-based rmake.rs

This PR port the `print-cfg` run-make test to Rust-based rmake.rs tests.

The actual test is now split in two:
 - the first part for the `--print=cfg` part
 - and the second part for the `=PATH` part of `--print`

Part of rust-lang#121876.

r? `@jieyouxu`
jieyouxu added a commit to jieyouxu/rust that referenced this issue Apr 30, 2024
…youxu

Port repr128-dwarf run-make test to rmake

This PR ports the repr128-dwarf run-make test to rmake, using the `gimli` crate instead of the `llvm-dwarfdump` command.

Note that this PR changes `rmake.rs` files to be compiled with the 2021 edition (previously no edition was passed to `rustc`, meaning they were compiled with the 2015 edition). This means that `panic!("{variable}")` will now work as expected in `rmake.rs` files (there's already a usage in the [wasm-symbols-not-exported test](https://github.com/rust-lang/rust/blob/aca749eefceaed0cda19a7ec5e472fce9387bc00/tests/run-make/wasm-symbols-not-exported/rmake.rs#L34) that this will fix).

Tracking issue: rust-lang#121876
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Apr 30, 2024
Rollup merge of rust-lang#124280 - beetrees:repr128-test-rmake, r=jieyouxu

Port repr128-dwarf run-make test to rmake

This PR ports the repr128-dwarf run-make test to rmake, using the `gimli` crate instead of the `llvm-dwarfdump` command.

Note that this PR changes `rmake.rs` files to be compiled with the 2021 edition (previously no edition was passed to `rustc`, meaning they were compiled with the 2015 edition). This means that `panic!("{variable}")` will now work as expected in `rmake.rs` files (there's already a usage in the [wasm-symbols-not-exported test](https://github.com/rust-lang/rust/blob/aca749eefceaed0cda19a7ec5e472fce9387bc00/tests/run-make/wasm-symbols-not-exported/rmake.rs#L34) that this will fix).

Tracking issue: rust-lang#121876
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 4, 2024
…m, r=jieyouxu

Rewrite `rustdoc-determinism` test in Rust

Rewrite the `rustdoc-determinism` test from rust-lang#121876.

r? `@jieyouxu`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue May 4, 2024
Rollup merge of rust-lang#124698 - JoverZhang:test-rustdoc-determinism, r=jieyouxu

Rewrite `rustdoc-determinism` test in Rust

Rewrite the `rustdoc-determinism` test from rust-lang#121876.

r? `@jieyouxu`
fmease added a commit to fmease/rust that referenced this issue May 5, 2024
…ntool, r=jieyouxu

Migrate `run-make/doctests-runtool` to rmake

Part of rust-lang#121876.

The first commit is making the `edition` method common to `Rustc` and `Rustdoc` as I'll need it for the doctest in rust-lang#123974.

r? `@jieyouxu`
bors added a commit to rust-lang-ci/rust that referenced this issue May 5, 2024
…ool, r=jieyouxu

Migrate `run-make/doctests-runtool` to rmake

Part of rust-lang#121876.

The first commit is making the `edition` method common to `Rustc` and `Rustdoc` as I'll need it for the doctest in rust-lang#123974.

r? `@jieyouxu`
fmease added a commit to fmease/rust that referenced this issue May 5, 2024
…erminism, r=jieyouxu

Migrate `run-make/rustdoc-error-lines` to new `rmake.rs`

Part of rust-lang#121876.

There was a weird naming inconsistency with `input`/`output`. A few tests write `.arg("-o").arg(path)` and the `output` method was actually the command output. So instead, I renamed the original `output` into `command_output` so that I could create the `output` method with the expected effect (and updated the tests to use it too).

EDIT: The first two commits come from rust-lang#124711. Some weird things happened recently pparently. ^^'

r? `@jieyouxu`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 6, 2024
…erminism, r=jieyouxu

Migrate `run-make/rustdoc-error-lines` to new `rmake.rs`

Part of rust-lang#121876.

There was a weird naming inconsistency with `input`/`output`. A few tests write `.arg("-o").arg(path)` and the `output` method was actually the command output. So instead, I renamed the original `output` into `command_output` so that I could create the `output` method with the expected effect (and updated the tests to use it too).

EDIT: The first two commits come from rust-lang#124711. Some weird things happened recently pparently. ^^'

r? ``@jieyouxu``
bors added a commit to rust-lang-ci/rust that referenced this issue May 6, 2024
…minism, r=jieyouxu

Migrate `run-make/rustdoc-error-lines` to new `rmake.rs`

Part of rust-lang#121876.

There was a weird naming inconsistency with `input`/`output`. A few tests write `.arg("-o").arg(path)` and the `output` method was actually the command output. So instead, I renamed the original `output` into `command_output` so that I could create the `output` method with the expected effect (and updated the tests to use it too).

EDIT: The first two commits come from rust-lang#124711. Some weird things happened recently pparently. ^^'

r? `@jieyouxu`
bors added a commit to rust-lang-ci/rust that referenced this issue May 8, 2024
…ror, r=<try>

Migrate `run-make/rustdoc-io-error` to `rmake.rs`

Part of rust-lang#121876.

r? `@jieyouxu`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue May 9, 2024
…-file, r=jieyouxu

Migrate `run-make/rustdoc-map-file` to rmake

Part of rust-lang#121876.

r? `@jieyouxu`
rust-timer added a commit to rust-lang-ci/rust that referenced this issue May 9, 2024
Rollup merge of rust-lang#124837 - GuillaumeGomez:migrate-rustdoc-map-file, r=jieyouxu

Migrate `run-make/rustdoc-map-file` to rmake

Part of rust-lang#121876.

r? `@jieyouxu`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. E-help-wanted Call for participation: Help is requested to fix this issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

8 participants