blob: bc3c2d7af5ddbc06bd3146ea92a80c055d2141d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
#
# Run `cargo test` for every crate with the default features
set -euo pipefail
: "${CARGO:=cargo}"
x () {
echo ": $*"
"$@"
}
for crate in $(maint/list_crates); do
echo ==================== "$crate" ====================
# allow $CARGO to contain multiple words
# shellcheck disable=SC2086
x $CARGO test -p "$crate" --all-targets
done
|