Only ignore failing bigint tests on 32-bit platforms
This commit is contained in:
parent
44ab00ee37
commit
3a5b641720
1 changed files with 8 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue