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