From 3aa274597236e8c9938e3626346e2d23119e7ed6 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Fri, 1 Nov 2024 11:29:24 +0000 Subject: [PATCH] test(init): run test with debug logs This provides more useful failure messages when integration tests fail Signed-off-by: Dave Tucker --- init/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/init/src/main.rs b/init/src/main.rs index ddb46e64..524fa972 100644 --- a/init/src/main.rs +++ b/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()))?;