Skip to content

Commit

Permalink
stamp(test): add test command with debug support
Browse files Browse the repository at this point in the history
- Checking for `RUST_LOG` env, then executing tests as `debug` with
tracing enabled
  • Loading branch information
kallebysantos authored and nyannyacha committed Nov 23, 2024
1 parent 8a837a1 commit d6bf8a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/env bash

cargo test $@
if [[ -n "$RUST_LOG" ]]; then
cargo test --features base/tracing --test integration_tests -- "$@"
else
cargo test "$@"
fi

0 comments on commit d6bf8a7

Please sign in to comment.