Merge remote-tracking branch 'teor/travis-osx-034' into maint-0.3.4

This commit is contained in:
Nick Mathewson
2018-08-21 20:04:03 -04:00
15 changed files with 232 additions and 166 deletions
+3 -4
View File
@@ -3,14 +3,13 @@
set -e
export LSAN_OPTIONS=suppressions=${abs_top_srcdir}/src/test/rust_supp.txt
export LSAN_OPTIONS=suppressions=${abs_top_srcdir:-../../..}/src/test/rust_supp.txt
for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do
if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then
cd "${cargo_toml_dir}" && \
cd "${abs_top_builddir:-../../..}/src/rust" && \
CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \
CARGO_HOME="${abs_top_builddir:-../../..}/src/rust/.cargo" \
"${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} \
"${CARGO:-cargo}" test --all-features ${CARGO_ONLINE-"--frozen"} \
${EXTRA_CARGO_OPTIONS} \
--manifest-path "${cargo_toml_dir}/Cargo.toml" || exitcode=1
fi