PVF: Add worker check during tests and benches (#1771)

This commit is contained in:
Marcin S
2023-10-24 16:22:15 +02:00
committed by GitHub
parent 8cba5b90f2
commit e39253c022
19 changed files with 285 additions and 113 deletions
@@ -31,7 +31,11 @@ pub fn generate_cargo_keys() {
Cow::from(sha)
},
Ok(o) => {
println!("cargo:warning=Git command failed with status: {}", o.status);
let stderr = String::from_utf8_lossy(&o.stderr).trim().to_owned();
println!(
"cargo:warning=Git command failed with status '{}' with message: '{}'",
o.status, stderr,
);
Cow::from("unknown")
},
Err(err) => {