1
Fork 0

Only ignore failing bigint tests on 32-bit platforms

This commit is contained in:
Brian Anderson 2013-01-08 19:45:48 -08:00
parent 44ab00ee37
commit 3a5b641720

View file

@ -851,7 +851,8 @@ mod biguint_tests {
}
#[test]
#[ignore]
#[ignore(cfg(target_arch = "x86"))]
#[ignore(cfg(target_arch = "arm"))]
fn test_shl() {
fn check(v: ~[BigDigit], shift: uint, ans: ~[BigDigit]) {
assert BigUint::new(v) << shift == BigUint::new(ans);
@ -869,7 +870,8 @@ mod biguint_tests {
}
#[test]
#[ignore]
#[ignore(cfg(target_arch = "x86"))]
#[ignore(cfg(target_arch = "arm"))]
fn test_shr() {
fn check(v: ~[BigDigit], shift: uint, ans: ~[BigDigit]) {
assert BigUint::new(v) >> shift == BigUint::new(ans);
@ -1089,7 +1091,8 @@ mod biguint_tests {
}
#[test]
#[ignore]
#[ignore(cfg(target_arch = "x86"))]
#[ignore(cfg(target_arch = "arm"))]
fn test_to_str_radix() {
for to_str_pairs().each |num_pair| {
let &(n, rs) = num_pair;
@ -1101,7 +1104,8 @@ mod biguint_tests {
}
#[test]
#[ignore]
#[ignore(cfg(target_arch = "x86"))]
#[ignore(cfg(target_arch = "arm"))]
fn test_from_str_radix() {
for to_str_pairs().each |num_pair| {
let &(n, rs) = num_pair;