Skip to content

Commit a864c81

Browse files
committed
Disable -Z check-cfg-features tests on windows due to weird normalization issues
See https://github.com/rust-lang/cargo/runs/5290789288?check_suite_focus=true Where the expected is: --check-cfg 'values(feature, "f_a", "f_b")' But we got: --check-cfg "values(feature, /"f_a/", /"f_b/")"
1 parent 03fbb2e commit a864c81

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/testsuite/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5949,6 +5949,7 @@ fn primary_package_env_var() {
59495949
foo.cargo("test").run();
59505950
}
59515951

5952+
#[cfg_attr(windows, ignore)] // weird normalization issue with windows and cargo-test-support
59525953
#[cargo_test]
59535954
fn check_cfg_features() {
59545955
if !is_nightly() {
@@ -5984,6 +5985,7 @@ fn check_cfg_features() {
59845985
.run();
59855986
}
59865987

5988+
#[cfg_attr(windows, ignore)] // weird normalization issue with windows and cargo-test-support
59875989
#[cargo_test]
59885990
fn check_cfg_features_with_deps() {
59895991
if !is_nightly() {
@@ -6025,6 +6027,8 @@ fn check_cfg_features_with_deps() {
60256027
)
60266028
.run();
60276029
}
6030+
6031+
#[cfg_attr(windows, ignore)] // weird normalization issue with windows and cargo-test-support
60286032
#[cargo_test]
60296033
fn check_cfg_features_with_opt_deps() {
60306034
if !is_nightly() {

tests/testsuite/check.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@ fn rustc_workspace_wrapper_excludes_published_deps() {
999999
.run();
10001000
}
10011001

1002+
#[cfg_attr(windows, ignore)] // weird normalization issue with windows and cargo-test-support
10021003
#[cargo_test]
10031004
fn check_cfg_features() {
10041005
if !is_nightly() {

tests/testsuite/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4500,6 +4500,7 @@ fn test_workspaces_cwd() {
45004500
.run();
45014501
}
45024502

4503+
#[cfg_attr(windows, ignore)] // weird normalization issue with windows and cargo-test-support
45034504
#[cargo_test]
45044505
fn check_cfg_features() {
45054506
if !is_nightly() {

0 commit comments

Comments
 (0)