4
0
Эх сурвалжийг харах

test(init): run test with debug logs

This provides more useful failure messages when integration tests fail

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Dave Tucker 4 сар өмнө
parent
commit
3aa2745972
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      init/src/main.rs

+ 1 - 0
init/src/main.rs

@@ -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()))?;