aboutsummaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorRoland Shoemaker <bracewell@google.com>2024-05-23 10:04:41 -0700
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-05-23 17:25:17 +0000
commit9f7f4d033b03ae1b6e7b69c9e3bfb368f06a887d (patch)
tree4ffb2157bc5d9e3212c91b825ec49014ca95ad1b /ssl
parentd7278cebad5b8eda0901246f2215344cffece4f4 (diff)
downloadboringssl-9f7f4d033b03ae1b6e7b69c9e3bfb368f06a887d.zip
boringssl-9f7f4d033b03ae1b6e7b69c9e3bfb368f06a887d.tar.gz
boringssl-9f7f4d033b03ae1b6e7b69c9e3bfb368f06a887d.tar.bz2
Add error string to JSON test result output
Useful for third-party bogo users. Change-Id: I8f456c714ca689bed8b6a44e4adb5f9103b994c7 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/68747 Commit-Queue: Roland Shoemaker <bracewell@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/test/runner/runner.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go
index b08e1bf..37a36fb 100644
--- a/ssl/test/runner/runner.go
+++ b/ssl/test/runner/runner.go
@@ -20364,19 +20364,19 @@ func statusPrinter(doneChan chan *testresult.Results, statusChan chan statusMsg,
if *allowUnimplemented {
testOutput.AddSkip(msg.test.name)
} else {
- testOutput.AddResult(msg.test.name, "SKIP")
+ testOutput.AddResult(msg.test.name, "SKIP", nil)
}
} else {
fmt.Printf("FAILED (%s)\n%s\n", msg.test.name, msg.err)
failed++
- testOutput.AddResult(msg.test.name, "FAIL")
+ testOutput.AddResult(msg.test.name, "FAIL", msg.err)
}
} else {
if *pipe {
// Print each test instead of a status line.
fmt.Printf("PASSED (%s)\n", msg.test.name)
}
- testOutput.AddResult(msg.test.name, "PASS")
+ testOutput.AddResult(msg.test.name, "PASS", nil)
}
}