mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Include the browser name when printing unit-test results
This uses a similar format to the reference-test logging, and will help determine in *exactly* which browser the failure occurred (since the tests run concurrently).
This commit is contained in:
parent
311ca6e796
commit
e4ad91be05
1 changed files with 2 additions and 1 deletions
|
@ -750,7 +750,8 @@ function unitTestPostHandler(req, res) {
|
|||
}
|
||||
var session = getSession(data.browser);
|
||||
session.numRuns++;
|
||||
var message = data.status + " | " + data.description;
|
||||
var message =
|
||||
data.status + " | " + data.description + " | in " + session.name;
|
||||
if (data.status === "TEST-UNEXPECTED-FAIL") {
|
||||
session.numErrors++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue