fixed cargo test
This commit is contained in:
@@ -3,10 +3,8 @@
|
||||
ERROR=0
|
||||
|
||||
while IFS= read -r -d '' f; do
|
||||
dir="$(dirname "${f}")"
|
||||
|
||||
echo "run 'cargo test' in ${dir}"
|
||||
cd "${dir}" && cargo test
|
||||
echo "run 'cargo test' with ${f}"
|
||||
cargo test --manifest-path="${f}"
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
ERROR=1
|
||||
|
||||
Reference in New Issue
Block a user