Skip to content

Commit bd23b42

Browse files
committed
fix(ci): improve error reporting for windows test failures
1 parent d9e157f commit bd23b42

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/sightglass.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ jobs:
5353

5454
- name: Test all
5555
run: cargo test --verbose --all
56+
env:
57+
RUST_BACKTRACE: 1

crates/cli/src/benchmark.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,10 @@ impl BenchmarkCommand {
398398

399399
anyhow::ensure!(
400400
output.status.success(),
401-
"benchmark subprocess did not exit successfully"
401+
"benchmark subprocess did not exit successfully: {}\nstderr: {}\nstdout: {}",
402+
output.status,
403+
String::from_utf8_lossy(&output.stderr),
404+
String::from_utf8_lossy(&output.stdout)
402405
);
403406

404407
eprintln!(".");

0 commit comments

Comments
 (0)