mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
mark cachelock tests that rely on interprocess blocking behaviour as unsuported on AIX
This commit is contained in:
parent
0322bdd37a
commit
bc43610058
@ -112,6 +112,10 @@ fn multiple_shared() {
|
||||
a_b_nested(CacheLockMode::Shared, CacheLockMode::Shared);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn multiple_shared_separate() {
|
||||
// Test that two independent shared locks are safe to acquire at the same time.
|
||||
@ -213,6 +217,10 @@ fn readonly() {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn download_then_shared_separate() {
|
||||
a_then_b_separate_not_blocked(
|
||||
@ -222,6 +230,10 @@ fn download_then_shared_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn shared_then_download_separate() {
|
||||
a_then_b_separate_not_blocked(
|
||||
@ -231,6 +243,10 @@ fn shared_then_download_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn multiple_download_separate() {
|
||||
// Test that with two independent download locks, the second blocks until
|
||||
@ -241,6 +257,10 @@ fn multiple_download_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn multiple_mutate_separate() {
|
||||
// Test that with two independent mutate locks, the second blocks until
|
||||
@ -251,11 +271,19 @@ fn multiple_mutate_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn shared_then_mutate_separate() {
|
||||
a_then_b_separate_blocked(CacheLockMode::Shared, CacheLockMode::MutateExclusive);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn download_then_mutate_separate() {
|
||||
a_then_b_separate_blocked(
|
||||
@ -264,6 +292,10 @@ fn download_then_mutate_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn mutate_then_download_separate() {
|
||||
a_then_b_separate_blocked(
|
||||
@ -272,6 +304,10 @@ fn mutate_then_download_separate() {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(
|
||||
target_os = "aix",
|
||||
ignore = "Test fails on AIX due to unsupported flock behaviour"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn mutate_then_shared_separate() {
|
||||
a_then_b_separate_blocked(CacheLockMode::MutateExclusive, CacheLockMode::Shared);
|
||||
|
Loading…
x
Reference in New Issue
Block a user