From 1b2c70309fefef9826b967a2984b90e49e1683ce Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 26 Aug 2019 13:25:07 -0700 Subject: [PATCH] Only test wasmtime-py and wasmtime-rust if nightly is installed. (#293) * Only test wasmtime-py and wasmtime-rust if nightly is installed. * Update test-all.sh Co-Authored-By: bjorn3 --- test-all.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test-all.sh b/test-all.sh index fcbbaf6e39..58c97dec82 100755 --- a/test-all.sh +++ b/test-all.sh @@ -62,10 +62,6 @@ RUST_BACKTRACE=1 cargo test \ --package wasmtime-interface-types \ --package wasmtime-obj \ -RUST_BACKTRACE=1 cargo +nightly test \ - --package wasmtime-py \ - --package wasmtime-rust - # Make sure the documentation builds. banner "Rust documentation: $topdir/target/doc/wasmtime/index.html" cargo doc @@ -89,6 +85,11 @@ if rustup toolchain list | grep -q nightly; then # Nightly is available, so also run lightbeam's tests, which we # skipped earlier. cargo +nightly test --package lightbeam + + # Also run wasmtime-py and wasmtime-rust's tests. + RUST_BACKTRACE=1 cargo +nightly test \ + --package wasmtime-py \ + --package wasmtime-rust else echo "nightly toolchain not found, skipping fuzz target integration test" fi