Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Test log format

The automated tests have the same sort of log format which is output to the console.

Most lines of test logs are of the form:
(status) | (test) | (description)

The test name or the description may be optional depending on the type of the test and where the line appears in the log.

Statuses:

Several status lines exist in the test:

INFO
INFO TEST-PASS
TEST-UNEXPECTED-FAIL

TEST-KNOWN-FAIL
WARNING

reftest additional adds the word 'REFTEST' prepending the status column (e.g.):

REFTEST TEST-START |file:///home/cltbld/talos-slave/mozi...s/539167-1.svg

Also reftest just uses "TEST-PASS" instead of "INFO TEST-PASS" (likewise xpcshell tests).

Exceptions:


There are several other lines that do not follow this convention

Sample lines:

INFO Passed: 60569
INFO Failed: 44
INFO SimpleTest START
INFO SimpleTest FINISHED
INFO SimpleTest finished /tests/browser/base/content/test/test_offline_gzip.html in 312ms
INFO | runtests.py | Running tests: end
program finished with exit code 247
elapsedTime=1496.639870

Document Tags and Contributors

 Contributors to this page: emorley, jhammel
 Last updated by: emorley,