Closed Bug 908906 Opened 11 years ago Closed 11 years ago

Add test summary info to jit-tests when run with --tinderbox

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: dminor, Assigned: dminor)

References

Details

Attachments

(1 file)

Mozharness looks for pass and fail counts to pass into tbpl. I would add something like the following when jit-test is run with --tinderbox to facilitate mozharness integration: log.info("Result summary:") log.info("Passed: %d" % pass_count) log.info("Failed: %d" % fail_count)
Comment on attachment 795626 [details] [diff] [review] Add extra summary information to print_test_summary Review of attachment 795626 [details] [diff] [review]: ----------------------------------------------------------------- r=me ::: js/src/tests/lib/jittests.py @@ +507,5 @@ > + if options.tinderbox: > + num_failures = len(failures) if failures else 0 > + print('Result summary:') > + print('Passed: %d' % (num_tests - num_failures)) > + print('Failed: %d' % num_failures) Remove trailing whitespace.
Attachment #795626 - Flags: review?(terrence) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: