more test work

This commit is contained in:
John Smith
2022-11-30 21:32:41 -05:00
parent edc87cd78e
commit 89dd5da522
65 changed files with 175 additions and 283 deletions

View File

@@ -3,7 +3,7 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
pushd $SCRIPTDIR 2>/dev/null
if [[ "$1" == "wasm" ]]; then
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --chrome --headless
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --firefox --headless
elif [[ "$1" == "ios" ]]; then
SYMROOT=/tmp/testout
APPNAME=veilidtools-tests
@@ -56,9 +56,9 @@ elif [[ "$1" == "android" ]]; then
popd >/dev/null
else
cargo test --features=rt-tokio,tracing
cargo test --features=rt-async-std,tracing
cargo test --features=rt-tokio
cargo test --features=rt-async-std
cargo test --features=rt-tokio,tracing -- --nocapture
cargo test --features=rt-async-std,tracing -- --nocapture
cargo test --features=rt-tokio -- --nocapture
cargo test --features=rt-async-std -- --nocapture
fi
popd 2>/dev/null