From 325ec5710f6cfe3362197f8540e6bf938882b31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=B6rner?= Date: Sun, 2 Apr 2017 16:06:23 +0200 Subject: [PATCH] fixed cargo test --- ci/run-cargo-test.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ci/run-cargo-test.sh b/ci/run-cargo-test.sh index bc151bb..d5d7d00 100755 --- a/ci/run-cargo-test.sh +++ b/ci/run-cargo-test.sh @@ -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