clean up tests

This commit is contained in:
John Smith
2022-11-27 11:27:06 -05:00
parent 80c8a62ea1
commit a34da6ff75
3 changed files with 25 additions and 0 deletions

9
veilid-tools/run_tests.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [[ "$1" == "wasm" ]]; then
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --chrome --headless
else
cargo test --features=rt-tokio
cargo test --features=rt-async-std
cargo test --features=rt-tokio,log --no-default-features
cargo test --features=rt-async-std,log --no-default-features
fi