diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-01-11 09:34:38 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-01-11 19:10:54 +0000 |
commit | e13a082284bcc92aa4f585d4a9fe07aa2c3c7c11 (patch) | |
tree | 034a29a76b6223c6ca4b2c8079d050cd9a6bd4ca | |
parent | 37c29c5f6cc0938209789dc1292692fa266c4a97 (diff) | |
download | go-e13a082284bcc92aa4f585d4a9fe07aa2c3c7c11.tar.gz go-e13a082284bcc92aa4f585d4a9fe07aa2c3c7c11.zip |
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>
-rw-r--r-- | src/runtime/crash_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 4756e1a099..b622eb4526 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -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 |