Closed Bug 1213127 Opened 9 years ago Closed 9 years ago

Use the jstests test runner to dispatch jit-tests in parallel

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

Details

Attachments

(1 file, 1 obsolete file)

IIRC, this failed on try because we weren't setting some env var properly, so holding off on review for now. Should be simple enough to fix:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd0d33b081f6
Blocks: 1213133
As expected, this was not sufficient. Linux is missing P.?_.* shaped symbols, so I think the failure is that we're no longer setting the LD_LIBRARY_PATH variable to the shell's directory. I've fixed this in bug 1213365.

The windows tests get further, surprisingly, but still fall over at options.run_skipped. In the linux runner, this variable is only accessed conditional on test.enabled (which is forced to always be true, since we filter for "slow" tests elsewhere); however, in the windows runner, we pass it to a function, so it needs to always be present. I'll upload a new patch for that.
Appears to be green with those changes.
Attachment #8671693 - Attachment is obsolete: true
Attachment #8672076 - Flags: review?(sphink)
Comment on attachment 8672076 [details] [diff] [review]
switch_jittests_to_jstests_task_runner-v1.diff

Review of attachment 8672076 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/src/tests/lib/jittests.py
@@ +8,5 @@
>  
>  from __future__ import print_function
>  import os, posixpath, sys, tempfile, traceback, time
>  import subprocess
> +from collections import namedtuple

Ooh, namedtuple looks nice. I can use that.
Attachment #8672076 - Flags: review?(sphink) → review+
(In reply to Steve Fink [:sfink, :s:] from comment #3)
> Comment on attachment 8672076 [details] [diff] [review]
> switch_jittests_to_jstests_task_runner-v1.diff
> 
> Review of attachment 8672076 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: js/src/tests/lib/jittests.py
> @@ +8,5 @@
> >  
> >  from __future__ import print_function
> >  import os, posixpath, sys, tempfile, traceback, time
> >  import subprocess
> > +from collections import namedtuple
> 
> Ooh, namedtuple looks nice. I can use that.

It bridges the gap pretty well between passing around brittle tuples and full-blown classes (which have to have a boilerplate __init__, at the very least).
https://hg.mozilla.org/mozilla-central/rev/bdcc2a6af89a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: