Parcourir la source

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 il y a 8 mois
Parent
commit
3aa2745972
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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()))?;