diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-01-08 19:45:48 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-01-08 19:46:03 -0800 |
| commit | 3a5b64172045e7f1ec1981c8da2150c7feb73079 (patch) | |
| tree | 0858d72c57c9fb95d9035913096158af31922662 /src/libstd | |
| parent | 44ab00ee37c4ffb8440ff20fd8a15cd24a6f3e46 (diff) | |
| download | rust-3a5b64172045e7f1ec1981c8da2150c7feb73079.tar.gz rust-3a5b64172045e7f1ec1981c8da2150c7feb73079.zip | |
Only ignore failing bigint tests on 32-bit platforms
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/bigint.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libstd/bigint.rs b/src/libstd/bigint.rs index d64bc368790..af273a706b5 100644 --- a/src/libstd/bigint.rs +++ b/src/libstd/bigint.rs @@ -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; |
