fractal/scripts/test.sh
Christopher Davis f4ce5e7c0d build: hook up tests with meson
Adds our cargo test to meson's testing system so that
`ninja test` runs it in addition to our resource validation tests.
2019-04-27 16:24:08 +00:00

9 lines
183 B
Bash

#! /usr/bin/sh
set -o errexit
set -o pipefail
export CARGO_TARGET_DIR="$1/target/"
export CARGO_HOME="$CARGO_TARGET_DIR/cargo-home"
cargo test -j 1 -- --test-threads=1 --nocapture