fixed cargo test

This commit is contained in:
Simon Wörner
2017-04-02 16:06:23 +02:00
parent 2fc9c4874f
commit 325ec5710f

View File

@@ -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