From 1706f9c15faea64eae3987874379252b41ba8286 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Thu, 13 Sep 2018 06:06:04 +0200 Subject: [PATCH] Fix compilation of test when arbitrary is enabled but not `debug`. --- ci/test.sh | 1 + tests/linalg/cholesky.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index d75dfa0f..ca3ed359 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -5,6 +5,7 @@ set -ev if [ -z "$NO_STD" ]; then if [ -z "$LAPACK" ]; then cargo test --verbose; + cargo test --verbose "arbitrary"; cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize"; else cd nalgebra-lapack; cargo test --verbose; diff --git a/tests/linalg/cholesky.rs b/tests/linalg/cholesky.rs index 82449477..df213ad4 100644 --- a/tests/linalg/cholesky.rs +++ b/tests/linalg/cholesky.rs @@ -1,4 +1,4 @@ -#![cfg(feature = "arbitrary")] +#![cfg(all(feature = "arbitrary", feature = "debug"))] use std::cmp; use na::{DMatrix, Matrix4x3, DVector, Vector4};