use flat bash glob but test cargo workspaces
@@ -3,10 +3,10 @@ set -e
pushd $(dirname ${BASH_SOURCE[0]})
-for d in {*,*/**}/Cargo.toml ; do
+for d in */Cargo.toml ; do
d=$(dirname "$d");
echo "Testing $d";
- (cd $d && cargo test -- --nocapture)
+ (cd $d && cargo test --workspace -- --nocapture)
done
popd
