9 | 9 |
ci/test_full.sh | 4 ++--
|
10 | 10 |
4 files changed, 8 insertions(+), 5 deletions(-)
|
11 | 11 |
|
12 | |
diff --git a/benches/bigint.rs b/benches/bigint.rs
|
13 | |
index 90a7e85..5474185 100644
|
14 | 12 |
--- a/benches/bigint.rs
|
15 | 13 |
+++ b/benches/bigint.rs
|
16 | |
@@ -9,7 +9,8 @@ extern crate test;
|
|
14 |
@@ -9,7 +9,8 @@
|
17 | 15 |
|
18 | 16 |
use num_bigint::{BigInt, BigUint, RandBigInt};
|
19 | 17 |
use num_traits::{FromPrimitive, Num, One, Pow, Zero};
|
|
23 | 21 |
use std::mem::replace;
|
24 | 22 |
use test::Bencher;
|
25 | 23 |
|
26 | |
diff --git a/benches/gcd.rs b/benches/gcd.rs
|
27 | |
index 5fe5260..a2b177a 100644
|
28 | 24 |
--- a/benches/gcd.rs
|
29 | 25 |
+++ b/benches/gcd.rs
|
30 | |
@@ -10,7 +10,8 @@ extern crate test;
|
|
26 |
@@ -10,7 +10,8 @@
|
31 | 27 |
use num_bigint::{BigUint, RandBigInt};
|
32 | 28 |
use num_integer::Integer;
|
33 | 29 |
use num_traits::Zero;
|
|
37 | 33 |
use test::Bencher;
|
38 | 34 |
|
39 | 35 |
fn get_rng() -> StdRng {
|
40 | |
diff --git a/benches/roots.rs b/benches/roots.rs
|
41 | |
index 51e67d9..b5c0aad 100644
|
42 | 36 |
--- a/benches/roots.rs
|
43 | 37 |
+++ b/benches/roots.rs
|
44 | |
@@ -8,7 +8,8 @@ extern crate test;
|
|
38 |
@@ -8,7 +8,8 @@
|
45 | 39 |
|
46 | 40 |
use num_bigint::{BigUint, RandBigInt};
|
47 | 41 |
use num_traits::Pow;
|
|
51 | 45 |
use test::Bencher;
|
52 | 46 |
|
53 | 47 |
// The `big64` cases demonstrate the speed of cases where the value
|
54 | |
diff --git a/ci/test_full.sh b/ci/test_full.sh
|
55 | |
index 37505bd..43e989b 100755
|
56 | 48 |
--- a/ci/test_full.sh
|
57 | 49 |
+++ b/ci/test_full.sh
|
58 | |
@@ -49,9 +49,9 @@ if test -n "${NO_STD_FEATURES:+true}"; then
|
59 | |
cargo test --no-default-features --features="$NO_STD_FEATURES"
|
60 | |
fi
|
|
50 |
@@ -33,7 +33,7 @@
|
|
51 |
cargo build --features="std $FEATURES"
|
|
52 |
cargo test --features="std $FEATURES"
|
61 | 53 |
|
62 | 54 |
-# make sure benchmarks can be built
|
63 | 55 |
+# make sure benchmarks can be built and sanity-tested
|
|
65 | 57 |
- cargo bench --all-features --no-run
|
66 | 58 |
+ cargo test --benches --all-features
|
67 | 59 |
fi
|
68 | |
|
69 | |
case "$STD_FEATURES" in
|