Skip to content

Commit

Permalink
add ignore flag for aarch64 integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonk000 committed Jan 22, 2024
1 parent 264d3ee commit c342812
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/dump_multiple_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use test_binary::build_test_binary;
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_can_read_large_page() -> Result<(), io::Error> {
let test_bin_path =
build_test_binary("test-workload", "testbins").expect("error building test-workload");
Expand Down Expand Up @@ -88,6 +89,7 @@ fn test_can_read_large_page() -> Result<(), io::Error> {
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_cannot_read_dont_dump_page() -> Result<(), io::Error> {
let test_bin_path =
build_test_binary("test-workload", "testbins").expect("error building test-workload");
Expand Down
1 change: 1 addition & 0 deletions tests/dump_multiple_threads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use test_binary::build_test_binary;

#[test]
#[ignore]
#[cfg(not(target_arch="aarch64"))]
fn test_can_read_stack_on_multiple_threads() -> Result<(), io::Error> {
let test_bin_path =
build_test_binary("test-workload", "testbins").expect("error building test-workload");
Expand Down
2 changes: 2 additions & 0 deletions tests/dump_read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use test_binary::build_test_binary;
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_can_read_stack() -> Result<(), io::Error> {
let test_bin_path =
build_test_binary("test-workload", "testbins").expect("error building test-workload");
Expand Down Expand Up @@ -80,6 +81,7 @@ fn test_can_read_stack() -> Result<(), io::Error> {
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_can_read_heap() -> Result<(), io::Error> {
let test_bin_path =
build_test_binary("test-workload", "testbins").expect("error building test-workload");
Expand Down
3 changes: 3 additions & 0 deletions tests/dump_sleep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use subprocess::{Exec, PopenError};
#[test]
#[ignore]
#[timeout(10000)]
#[cfg(not(target_arch="aarch64"))]
fn test_sleep_sleeps() -> Result<(), PopenError> {
// shakeout test to check if sleep will run correctly

Expand All @@ -40,6 +41,7 @@ fn test_sleep_sleeps() -> Result<(), PopenError> {
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_sleep_was_not_killed() {
let mut sleep_p = Exec::cmd("sleep").arg("2").popen().unwrap();
assert_eq!(true, sleep_p.pid().is_some());
Expand All @@ -63,6 +65,7 @@ fn test_sleep_was_not_killed() {
#[test]
#[ignore]
#[timeout(20000)]
#[cfg(not(target_arch="aarch64"))]
fn test_sleep_output_is_parseable() {
let sleep_p = Exec::cmd("sleep").arg("2").popen().unwrap();
assert_eq!(true, sleep_p.pid().is_some());
Expand Down

0 comments on commit c342812

Please sign in to comment.