Closed Bug 1687659 Opened 4 years ago Closed 4 years ago

jit-tests --repeat option doesn't have any effect

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

(Reporter: jonco, Assigned: nbp)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Since bug 1686272, the --repeat option no longer raises an exception, but it doesn't repeat the tests either.

~/work/dev/js/src$ jit-test/jit_test.py optdebug-build/shell incremental-abort --repeat 100
[ 1| 0| 0| 0] 100% ==================================================>|   0.9s
PASSED ALL

Set release status flags based on info from the regressing bug 1686272

When using the options.repeat, we consume the job_list generator, which
causes it to be empty on the next iteration. This patch forces the content of
the generator to be stored in a list before iterating over it multiple times.

Assignee: nobody → nicolas.b.pierron
Status: NEW → ASSIGNED
Pushed by npierron@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d38c704c37ca jit_test.py: repeat_copy is now aware of generators. r=jonco
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: