Jeff Vander Stoep | fb178dc | 2020-12-04 13:55:39 +0100 | [diff] [blame] | 1 | #!/usr/bin/env sh |
2 | |||||
3 | set -ex | ||||
4 | TARGET=$1 | ||||
5 | |||||
6 | CMD="cargo test --all --target $TARGET" | ||||
7 | |||||
8 | # stable by default | ||||
9 | $CMD | ||||
10 | $CMD --release | ||||
11 | |||||
12 | # unstable with a feature | ||||
13 | $CMD --features 'unstable' | ||||
14 | $CMD --release --features 'unstable' | ||||
15 | |||||
16 | # also run the reference tests | ||||
17 | $CMD --features 'unstable musl-reference-tests' | ||||
18 | $CMD --release --features 'unstable musl-reference-tests' |