warpgate/tests/run.sh

10 lines
288 B
Bash
Raw Normal View History

2022-08-14 18:36:49 +08:00
#!/bin/sh
set -e
cd ..
rm target/llvm-cov-target/* || true
cargo llvm-cov clean --workspace
2024-01-23 19:20:19 +08:00
cargo llvm-cov --no-cfg-coverage-nightly --no-report --workspace --all-features -- --skip agent
2022-08-14 18:36:49 +08:00
cd tests
2022-11-12 00:00:12 +08:00
RUST_BACKTRACE=1 poetry run pytest $@
2022-08-14 18:36:49 +08:00
cargo llvm-cov --no-run --hide-instantiations --html