| commit | 5d4b8d99a14a64df946f48d87dbaf6691f3cdeaf | [log] [tgz] |
|---|---|---|
| author | David Benjamin <davidben@google.com> | Thu Mar 06 17:54:57 2025 -0500 |
| committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 06 15:11:09 2025 -0800 |
| tree | 3955eedd5fb7cab9c40841f086ae611ac744c129 | |
| parent | cbc61792caa0cccb46b7801e850450a2aa3e22ed [diff] |
runner: Restore error output in the "unexpected failure" case We accidentally lost this in https://boringssl-review.googlesource.com/c/boringssl/+/75507 Change-Id: Ib22a68e43fd78f007e79c338127f10b575c4de7e Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/77127 Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: Bob Beck <bbe@google.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go index 79866d9..0aa5bc3 100644 --- a/ssl/test/runner/runner.go +++ b/ssl/test/runner/runner.go
@@ -1763,7 +1763,7 @@ var msg string switch { case failed && !test.shouldFail: - msg = "unexpected failure" + msg = fmt.Sprintf("unexpected failure\ngot:\n%s\n", got) case !failed && test.shouldFail: msg = fmt.Sprintf("unexpected success\nwant:\n%s\n", want) case failed && !correctFailure: