Skip to content

Commit

Permalink
Print output of failed make command
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Mar 1, 2022
1 parent fa20696 commit 7f07fa5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions testing/execution_engine_integration/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ fn build_geth(execution_clients_dir: &Path) {
.success());

// Build geth
assert!(Command::new("make")
let make_result = Command::new("make")
.arg("geth")
.current_dir(&repo_dir)
.output()
.expect("failed to make geth")
.status
.success());
.expect("failed to make geth");

if !make_result.status.success() {
dbg!(String::from_utf8_lossy(&make_result.stdout));
dbg!(String::from_utf8_lossy(&make_result.stderr));
panic!("make make failed");
}
}

0 comments on commit 7f07fa5

Please sign in to comment.