f4ce5e7c0d
Adds our cargo test to meson's testing system so that `ninja test` runs it in addition to our resource validation tests.
9 lines
183 B
Bash
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
|