Skip to content

Commit

Permalink
Assert go build successful.
Browse files Browse the repository at this point in the history
  • Loading branch information
t4lz committed Oct 9, 2022
1 parent e37066c commit 65bc21a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mirrord-layer/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,11 @@ fn build_go_app() {
let original_dir = env::current_dir().unwrap();
let go_app_path = Path::new("tests/apps/app_go");
env::set_current_dir(go_app_path).unwrap();
process::Command::new("go")
let output = process::Command::new("go")
.args(vec!["build", "-o", "19"])
.output()
.expect("Failed to build Go test app.");
assert!(output.status.success(), "Building Go test app failed.");
env::set_current_dir(original_dir).unwrap();
}

Expand Down

0 comments on commit 65bc21a

Please sign in to comment.