Closed
Bug 1294466
Opened 8 years ago
Closed 8 years ago
Check that the output of all JITFLAGS is the same on jit-tests
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: terrence, Assigned: jj)
Details
(Whiteboard: [lang=python])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
As was done for the jsreftest suite in bug 637400, but for the jit-test suite.
Assignee | ||
Updated•8 years ago
|
Whiteboard: [lang=python]
Assignee | ||
Comment 1•8 years ago
|
||
If we look at jit-tests (js/src/jit-test/jit_tests.py) it calls jittests.run_test_remote and jittests.run_tests so we need to do check in the both the functions separately that the output for different flag is not different. Am I correct?
Flags: needinfo?(terrence)
Reporter | ||
Comment 3•8 years ago
|
||
Comment on attachment 8780642 [details] [diff] [review]
try_v1.diff
The patch file is empty. Don't forget to qref.
Flags: needinfo?(terrence)
Attachment #8780642 -
Flags: review?(terrence)
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8780642 -
Attachment is obsolete: true
Attachment #8780710 -
Flags: review?(terrence)
Assignee | ||
Comment 5•8 years ago
|
||
I forgot to refresh the patch earlier :P
Reporter | ||
Comment 6•8 years ago
|
||
Comment on attachment 8780710 [details] [diff] [review]
try_v1.diff
Review of attachment 8780710 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/tests/lib/jittests.py
@@ +513,5 @@
> + if res.test.path in output_dict.keys():
> + if output_dict[res.test.path] != res.out:
> + pb.message("FAIL - OUTPUT DIFFERS {}".format(res.test.relpath_tests))
> + else:
> + output_dict[res.test.path] = res.out
This is almost perfect. However, by putting this above where we print the program output, it might not get seen by a reader. Instead let's move it down below to where we emit errors with pb.message. How about just above |doing = 'after {}'.format(res.test.relpath_tests)|?
Attachment #8780710 -
Flags: review?(terrence)
Assignee | ||
Comment 7•8 years ago
|
||
Fixed it :)
Attachment #8780710 -
Attachment is obsolete: true
Attachment #8781172 -
Flags: review?(terrence)
Reporter | ||
Comment 8•8 years ago
|
||
Comment on attachment 8781172 [details] [diff] [review]
try_v2.diff
Review of attachment 8781172 [details] [diff] [review]:
-----------------------------------------------------------------
Excellent!
Attachment #8781172 -
Flags: review?(terrence) → review+
Reporter | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/772ec8c912ac
Check that the output of all JITFLAGS is the same on jit-tests. r=terrence
Keywords: checkin-needed
Comment 10•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•