Skip to content

Commit

Permalink
[DO NOT MERGE] testing Windows CI failures
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
aykevl committed Nov 8, 2024
1 parent f9f439a commit 1cf24a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,14 @@ func runTestWithConfig(name string, t *testing.T, options compileopts.Options, c
// Build the test binary.
stdout := &bytes.Buffer{}
_, err = buildAndRun(pkgName, config, stdout, cmdArgs, environmentVars, time.Minute, func(cmd *exec.Cmd, result builder.BuildResult) error {
return cmd.Run()
t.Log("command:", cmd)
err := cmd.Run()
if err == nil {
t.Log(" error is nil!")
} else {
t.Log(" error:", err)
}
return err
})
if err != nil {
w := &bytes.Buffer{}
Expand Down

0 comments on commit 1cf24a1

Please sign in to comment.