mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: return full error for first test to be built
Change-Id: I5a0206e8074f3a2790954c45a217922b7b3fe851 Reviewed-on: https://go-review.googlesource.com/18487 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
37c29c5f6c
commit
e13a082284
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ func buildTestProg(t *testing.T, binary string) (string, error) {
|
|||
exe = ""
|
||||
target.err = fmt.Errorf("building %s: %v\n%s", binary, err, out)
|
||||
testprog.target[binary] = target
|
||||
return "", err
|
||||
return "", target.err
|
||||
}
|
||||
target.exe = exe
|
||||
testprog.target[binary] = target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue