Test log format

この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

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

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: edmorley, jhammel
最終更新者: jhammel,