Skip to content

Commit

Permalink
test(init): run test with debug logs
Browse files Browse the repository at this point in the history
This provides more useful failure messages when integration tests fail

Signed-off-by: Dave Tucker <[email protected]>
  • Loading branch information
dave-tucker committed Nov 1, 2024
1 parent adf16e2 commit 3aa2745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ fn run() -> anyhow::Result<()> {
let path = entry.path();
let status = std::process::Command::new(&path)
.args(&args)
.env("RUST_LOG", "debug")
.status()
.with_context(|| format!("failed to execute {}", path.display()))?;

Expand Down

0 comments on commit 3aa2745

Please sign in to comment.