Skip to content

Commit 1cf24a1

Browse files
committed
[DO NOT MERGE] testing Windows CI failures
[skip ci]
1 parent f9f439a commit 1cf24a1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

main_test.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,14 @@ func runTestWithConfig(name string, t *testing.T, options compileopts.Options, c
421421
// Build the test binary.
422422
stdout := &bytes.Buffer{}
423423
_, err = buildAndRun(pkgName, config, stdout, cmdArgs, environmentVars, time.Minute, func(cmd *exec.Cmd, result builder.BuildResult) error {
424-
return cmd.Run()
424+
t.Log("command:", cmd)
425+
err := cmd.Run()
426+
if err == nil {
427+
t.Log(" error is nil!")
428+
} else {
429+
t.Log(" error:", err)
430+
}
431+
return err
425432
})
426433
if err != nil {
427434
w := &bytes.Buffer{}

0 commit comments

Comments
 (0)