diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff3f36807..a8a30062e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -133,7 +133,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: llvm-cov - args: nextest --workspace --all-features --lcov --output-path lcov.info --profile ci -vv --no-capture + args: nextest --workspace --all-features --lcov --output-path lcov.info --profile ci -vv - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.1 diff --git a/src/ast/test.rs b/src/ast/test.rs index 676c4756b..aa9077dde 100644 --- a/src/ast/test.rs +++ b/src/ast/test.rs @@ -2,6 +2,7 @@ use std::{ fs::remove_file, path::PathBuf, + process::Stdio, sync::{Arc, Mutex}, }; @@ -506,6 +507,8 @@ fn test_compile() { .unwrap_or_else(|_| panic!("static compiled file not found {:?}", exe)); eprintln!("exec: {:?}", exe); let o = Command::new(exe.to_str().unwrap()) + .stdout(Stdio::null()) + .stderr(Stdio::null()) .output() .expect("failed to execute compiled program"); assert!(