소스 검색

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 6 달 전
부모
커밋
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()))?;