Make nalgebra-sparse unit tests require io feature
This commit is contained in:
parent
1b73b2f991
commit
4c039573f2
|
@ -1,6 +1,13 @@
|
||||||
//! Unit tests
|
//! Unit tests
|
||||||
#[cfg(any(not(feature = "proptest-support"), not(feature = "compare")))]
|
#[cfg(not(all(
|
||||||
compile_error!("Tests must be run with features `proptest-support` and `compare`");
|
feature = "proptest-support",
|
||||||
|
feature = "compare",
|
||||||
|
feature = "io",
|
||||||
|
)))]
|
||||||
|
compile_error!(
|
||||||
|
"Please enable the `proptest-support`, `compare` and `io` features in order to compile and run the tests.
|
||||||
|
Example: `cargo test -p nalgebra-sparse --features proptest-support,compare,io`"
|
||||||
|
);
|
||||||
|
|
||||||
mod unit_tests;
|
mod unit_tests;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ mod convert_serial;
|
||||||
mod coo;
|
mod coo;
|
||||||
mod csc;
|
mod csc;
|
||||||
mod csr;
|
mod csr;
|
||||||
#[cfg(feature = "io")]
|
|
||||||
mod matrix_market;
|
mod matrix_market;
|
||||||
mod ops;
|
mod ops;
|
||||||
mod pattern;
|
mod pattern;
|
||||||
|
|
Loading…
Reference in New Issue