Closed
Bug 540512
Opened 15 years ago
Closed 2 years ago
Replace bogus "timejit < timenonjit" tests
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jruderman)
References
Details
Attachments
(1 file)
|
1.45 KB,
patch
|
Details | Diff | Splinter Review |
I'm disabling a set of JS "unit tests" that were attempting to ensure the JIT was faster than the interpreter. These tests were slow and failing intermittently.
Unit tests should never depend on timing:
http://joblivious.wordpress.com/2009/02/20/handling-intermittence-how-to-survive-test-driven-development/
We should make sure that whatever they were intended to test is covered by at least one of
(1) talos performance tests, e.g. part of sunspider
(2) non-time-dependent unit tests, e.g. based on jitstats
and then remove the files.
| Assignee | ||
Comment 1•15 years ago
|
||
(Tests disabled in http://hg.mozilla.org/mozilla-central/rev/06a14da370af)
| Assignee | ||
Comment 2•15 years ago
|
||
Btw one of the tests was failing due to something actually being slower than it was supposed to be; see bug 482914.
Comment 3•15 years ago
|
||
(In reply to comment #1)
> (Tests disabled in http://hg.mozilla.org/mozilla-central/rev/06a14da370af)
Jesse, can you land this on 1.9.2 as well?
| Assignee | ||
Comment 4•15 years ago
|
||
Attachment #430156 -
Flags: approval1.9.2.2?
Comment 5•15 years ago
|
||
do we need approval 1.9.2 for npotb test only changes?
| Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 430156 [details] [diff] [review]
1.9.2 branch patch
Gavin Sharp says "test-only changes never require approval anywhere".
Attachment #430156 -
Flags: approval1.9.2.2?
| Assignee | ||
Comment 7•15 years ago
|
||
Tests disabled: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/52e50d6be739
Updated•11 years ago
|
Assignee: general → nobody
Updated•3 years ago
|
Severity: minor → S4
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Assignee: nobody → jruderman
You need to log in
before you can comment on or make changes to this bug.
Description
•