Skip to content

run-make: audit the ignore-{windows,msvc,windows-msvc} tests #128602

Description

@jieyouxu

There are several ignore-msvc/ignore-windows/ignore-windows-msvc run-make tests that have those ignore-*s because of several common challenges:

  1. Can't figure out how to build the proper e.g. import lib for dynamic lib to satisfy link.exe.
  2. Can't figure out the msvc build invocations to generate the desired output artifacts.
  3. Debug info or object symbol differences versus mingw or linux or apple.
  4. Weird appearance of unexpected symbols or lack of expected symbols.

It would be great and super helpful if Windows experts could take a look at them, and see if some of the ignore-*s can be resolved or otherwise how we can expand the tests to cover msvc as well, or have proper reasons why they must be ignore-*'d.
ignore-msvc:

ignore-windows-msvc:

ignore-windows:

  • tests/run-make/naked-symbol-visibility/rmake.rs
  • tests/run-make/dep-info/rmake.rs
  • tests/run-make/short-ice/rmake.rs
  • tests/run-make/incr-add-rust-src-component/rmake.rs (symlink)
  • tests/run-make/extern-fn-reachable/rmake.rs
  • tests/run-make/dep-info/rmake.rs
  • tests/run-make/dep-info-spaces/rmake.rs
  • tests/run-make/lto-avoid-object-duplication/rmake.rs
  • tests/run-make/translation/rmake.rs (symlink)
  • tests/run-make/native-link-modifier-bundle/rmake.rs
  • tests/run-make/textrel-on-minimal-lib/rmake.rs
  • tests/run-make/remap-path-prefix-dwarf/rmake.rs
  • tests/run-make/libs-through-symlinks/rmake.rs (symlink)
  • tests/run-make/redundant-libs/rmake.rs
  • tests/run-make/reproducible-build-2/rmake.rs (the symlink part might be possible with needs-symlink, unsure about reproducible paths)
  • tests/run-make/fmt-write-bloat/rmake.rs (no_std test) (run-make: explaing why fmt-write-bloat is ignore-windows #128807)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-run-makeArea: port run-make Makefiles to rmake.rsA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.O-windowsOperating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions