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