Skip to content

Enable more tests on Windows #134777

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

saethlin
Copy link
Member

@saethlin saethlin commented Dec 26, 2024

As part of the discussion of rust-lang/compiler-team#822 on Zulip, it was mentioned that problems with the i686-pc-windows-gnu target may have resulted in tests being disabled on Windows.

So in this PR, I've ripped out all our //@ ignore-windows directives, then re-added all the ones that are definitely required based on the outcome of try-builds, and in some cases I've improved the justification or tightened the directives to //@ ignore-msvc or ignoring specific targets.

@saethlin saethlin added the S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. label Dec 26, 2024
@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Dec 26, 2024
@saethlin saethlin removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 26, 2024
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 26, 2024
…s, r=<try>

(mostly) blindly enable more tests on Windows

r? ghost

try-job: x86_64-msvc
try-job: i686-msvc
@bors
Copy link
Collaborator

bors commented Dec 26, 2024

⌛ Trying commit 74bb9cc with merge 8a1c227...

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Dec 26, 2024

💔 Test failed - checks-actions

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Dec 26, 2024
@saethlin saethlin force-pushed the enable-more-tests-on-windows branch from 74bb9cc to e3d02ee Compare December 27, 2024 18:58
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Dec 27, 2024
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

@bors try

@bors
Copy link
Collaborator

bors commented Dec 27, 2024

⌛ Trying commit deb841a with merge 6e3bb3a...

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 27, 2024
…s, r=<try>

(mostly) blindly enable more tests on Windows

r? ghost

try-job: x86_64-msvc
try-job: i686-msvc
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Dec 27, 2024

💔 Test failed - checks-actions

@@ -1,4 +1,3 @@
//
//@ ignore-windows
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you'd want to delete this line as well:

Suggested change
//@ ignore-windows

@bors
Copy link
Collaborator

bors commented Dec 31, 2024

☔ The latest upstream changes (presumably #134966) made this pull request unmergeable. Please resolve the merge conflicts.

@saethlin saethlin force-pushed the enable-more-tests-on-windows branch from 6e16232 to 78489be Compare December 31, 2024 22:02
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 3, 2025
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#134777 (Enable more tests on Windows)
 - rust-lang#134807 (fix(rustdoc): always use a channel when linking to doc.rust-lang.org)
 - rust-lang#135621 (Move some std tests to integration tests)
 - rust-lang#135836 (bootstrap: only build `crt{begin,end}.o` when compiling to MUSL)
 - rust-lang#136235 (Pretty print pattern type values with transmute if they don't satisfy their pattern)
 - rust-lang#136392 (bootstrap: add wrapper macros for `feature = "tracing"`-gated `tracing` macros)
 - rust-lang#136462 (mir_build: Simplify `lower_pattern_range_endpoint`)

r? `@ghost`
`@rustbot` modify labels: rollup
@@ -1,5 +1,4 @@
//@ ignore-windows different list of satisfying impls
//@ ignore-arm different list of satisfying impls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This //@ ignore-arm is needed because

46    = note: multiple `impl`s satisfying `u32: From<_>` found in the `core` crate:
47            - impl From<Char> for u32;
48            - impl From<Ipv4Addr> for u32;
+            - impl From<Simd<u16, 2>> for u32;
+            - impl From<Simd<u8, 4>> for u32;

@jieyouxu
Copy link
Member

jieyouxu commented Feb 3, 2025

Failed in #136470 (comment)

46    = note: multiple `impl`s satisfying `u32: From<_>` found in the `core` crate:
47            - impl From<Char> for u32;
48            - impl From<Ipv4Addr> for u32;
+            - impl From<Simd<u16, 2>> for u32;
+            - impl From<Simd<u8, 4>> for u32;

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 3, 2025
@saethlin saethlin force-pushed the enable-more-tests-on-windows branch from 5efee2c to 172fa9e Compare February 3, 2025 15:02
@saethlin
Copy link
Member Author

saethlin commented Feb 3, 2025

@bors r=Noratrieb

@bors
Copy link
Collaborator

bors commented Feb 3, 2025

📌 Commit 172fa9e has been approved by Noratrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 3, 2025
@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

saethlin commented Feb 3, 2025

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 3, 2025
@saethlin saethlin force-pushed the enable-more-tests-on-windows branch from 172fa9e to 7dfc786 Compare February 3, 2025 15:39
@saethlin
Copy link
Member Author

saethlin commented Feb 3, 2025

@bors r=Noratrieb

@bors
Copy link
Collaborator

bors commented Feb 3, 2025

📌 Commit 7dfc786 has been approved by Noratrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 3, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 4, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang#134777 (Enable more tests on Windows)
 - rust-lang#135621 (Move some std tests to integration tests)
 - rust-lang#135844 ( Add new tool for dumping feature status based on tidy )
 - rust-lang#136167 (Implement unstable `new_range` feature)
 - rust-lang#136334 (Extract `core::ffi` primitives to a separate (internal) module)

Failed merges:

 - rust-lang#136201 (Removed dependency on the field-offset crate, alternate approach)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2a8a191 into rust-lang:master Feb 4, 2025
6 checks passed
@rustbot rustbot added this to the 1.86.0 milestone Feb 4, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Feb 4, 2025
Rollup merge of rust-lang#134777 - saethlin:enable-more-tests-on-windows, r=Noratrieb

Enable more tests on Windows

As part of the discussion of rust-lang/compiler-team#822 on Zulip, it was mentioned that problems with the i686-pc-windows-gnu target may have resulted in tests being disabled on Windows.

So in this PR, I've ripped out all our `//@ ignore-windows` directives, then re-added all the ones that are definitely required based on the outcome of try-builds, and in some cases I've improved the justification or tightened the directives to `//@ ignore-msvc` or ignoring specific targets.
@saethlin saethlin deleted the enable-more-tests-on-windows branch February 4, 2025 15:49
@workingjubilee workingjubilee added the O-windows Operating system: Windows label Feb 10, 2025
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang#134777 (Enable more tests on Windows)
 - rust-lang#135621 (Move some std tests to integration tests)
 - rust-lang#135844 ( Add new tool for dumping feature status based on tidy )
 - rust-lang#136167 (Implement unstable `new_range` feature)
 - rust-lang#136334 (Extract `core::ffi` primitives to a separate (internal) module)

Failed merges:

 - rust-lang#136201 (Removed dependency on the field-offset crate, alternate approach)

r? `@ghost`
`@rustbot` modify labels: rollup
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc O-windows Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants