You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
348 B
19 lines
348 B
#!/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'
|