Restrict running tests dependent of x86_64
These 5 tests fail with the error "This test requires x86_64 support." when executed on another architecture.
This commit is contained in:
committed by
Andrew Brown
parent
2a9f458ea3
commit
7d36fd9a1e
@@ -969,6 +969,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(target_arch = "x86_64"), ignore)]
|
||||
fn memcpy() {
|
||||
use core::str::FromStr;
|
||||
use cranelift_codegen::{isa, settings};
|
||||
@@ -1031,6 +1032,7 @@ block0:
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(target_arch = "x86_64"), ignore)]
|
||||
fn small_memcpy() {
|
||||
use core::str::FromStr;
|
||||
use cranelift_codegen::{isa, settings};
|
||||
@@ -1098,6 +1100,7 @@ block0:
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(target_arch = "x86_64"), ignore)]
|
||||
fn not_so_small_memcpy() {
|
||||
use core::str::FromStr;
|
||||
use cranelift_codegen::{isa, settings};
|
||||
@@ -1168,6 +1171,7 @@ block0:
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(target_arch = "x86_64"), ignore)]
|
||||
fn small_memset() {
|
||||
use core::str::FromStr;
|
||||
use cranelift_codegen::{isa, settings};
|
||||
@@ -1221,6 +1225,7 @@ block0:
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(target_arch = "x86_64"), ignore)]
|
||||
fn not_so_small_memset() {
|
||||
use core::str::FromStr;
|
||||
use cranelift_codegen::{isa, settings};
|
||||
|
||||
Reference in New Issue
Block a user