зеркало из https://github.com/mozilla/gecko-dev.git
Bug 851842 - Make jit-tests log output more suited to TBPL bug suggestions; r=terrence
This commit is contained in:
Родитель
1a564394b1
Коммит
19d94654ef
|
@ -297,11 +297,15 @@ def check_output(out, err, rc, test):
|
|||
return True
|
||||
|
||||
def print_tinderbox(label, test, message=None):
|
||||
# Output test failures in a TBPL parsable format, eg:
|
||||
# TEST-PASS | /foo/bar/baz.js | --no-jm
|
||||
# TEST-UNEXPECTED-FAIL | /foo/bar/baz.js | --no-ion: Assertion failure: ...
|
||||
# TEST-UNEXPECTED-FAIL | jit_test.py: Test execution interrupted by user
|
||||
if (test != None):
|
||||
jitflags = " ".join(test.jitflags)
|
||||
result = "%s | jit_test.py %-15s| %s" % (label, jitflags, test.path)
|
||||
result = "%s | %s | %s" % (label, test.path, jitflags)
|
||||
else:
|
||||
result = "%s | jit_test.py " % label
|
||||
result = "%s | jit_test.py" % label
|
||||
|
||||
if message:
|
||||
result += ": " + message
|
||||
|
|
Загрузка…
Ссылка в новой задаче