Commit e13a0822 authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: return full error for first test to be built

Change-Id: I5a0206e8074f3a2790954c45a217922b7b3fe851
Reviewed-on: https://go-review.googlesource.com/18487Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 37c29c5f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment