nalgebra/ci/test.sh
Diggory Hardy 6ebb768309 Make rand optional
Tests pass with default features (rand_with_std)
Tests pass with std only, with --tests restriction (doc tests fail)
2019-09-16 12:44:40 +01:00

17 lines
447 B
Bash
Executable File

#! /bin/bash
set -ev
if [ -z "$NO_STD" ]; then
if [ -z "$LAPACK" ]; then
cargo test --verbose --no-default-features --lib;
cargo test --verbose --no-default-features --features "std" --tests;
cargo test --verbose;
cargo test --verbose "arbitrary";
cargo test --verbose --all-features;
cd nalgebra-glm; cargo test --verbose;
else
cd nalgebra-lapack; cargo test --verbose;
fi
fi