podcasts/scripts/test.sh
Christopher Davis 92e2006782
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-03-07 07:04:23 +02:00

11 lines
189 B
Bash
Executable File

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