]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Rust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4
authorteor <teor@torproject.org>
Fri, 10 Aug 2018 03:11:27 +0000 (13:11 +1000)
committerteor <teor@torproject.org>
Fri, 10 Aug 2018 06:37:19 +0000 (16:37 +1000)
Re-applies 0.3.3 changes after 24629.

src/test/test_rust.sh

index 4afc84285f003dccf6ada2bebcf8be6a25468ac7..5405af436b1a9394dc0e9bb849ff0487ce294dae 100755 (executable)
@@ -9,7 +9,7 @@ for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do
     if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then
        cd "${abs_top_builddir:-../../..}/src/rust" && \
            CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \
-           "${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