blob: ed253ab0d10abe1374a3b6a7abc6b1d4135e25fc [file] [log] [blame]
#!/usr/bin/env sh
set -ex
TARGET=$1
CMD="cargo test --all --target $TARGET"
# stable by default
$CMD
$CMD --release
# unstable with a feature
$CMD --features 'unstable'
$CMD --release --features 'unstable'
# also run the reference tests
$CMD --features 'unstable musl-reference-tests'
$CMD --release --features 'unstable musl-reference-tests'