Tests on Windows: no console for CLI children, .exe for the Go oracle; CI test timeout
A hidden console on Windows runners let a confirmation prompt wait forever, and the oracle built without .exe could not be run.
This commit is contained in:
+3
-1
@@ -34,7 +34,9 @@ pub fn go_oracle() -> Option<PathBuf> {
|
||||
if !have_go() {
|
||||
return None;
|
||||
}
|
||||
let out = root().join("target").join("vault-go-oracle");
|
||||
let out = root()
|
||||
.join("target")
|
||||
.join(format!("vault-go-oracle{}", std::env::consts::EXE_SUFFIX));
|
||||
let st = Command::new("go")
|
||||
.args(["build", "-o"])
|
||||
.arg(&out)
|
||||
|
||||
Reference in New Issue
Block a user