Closed Bug 1147701 Opened 11 years ago Closed 11 years ago

Only download the jsshell when running jit tests

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chmanchester, Assigned: chmanchester)

Details

Attachments

(1 file, 1 obsolete file)

I was poking around the code that downloads tests and it looks like we're downloading the jsshell for every suite, but we don't need to.
https://hg.mozilla.org/build/mozharness/file/28e8e8169134/scripts/desktop_unittest.py#l431 is what I mean. I'll write a patch for this if nobody tries to stop me.
/r/6189 - Bug 1147701 - Only download the jsshell when running jit tests. Pull down this commit: hg pull review -r ac12482caaa8b32ab06049aabd14300ddf1f3604
Attachment #8584191 - Flags: review?(jlund)
apologies for not getting to this yet. I am on point for merge & uplift release work so I won't be able to look into this until my EOD.
This is a small optimization (and a small patch), nothing urgent here.
Comment on attachment 8584191 [details] MozReview Request: bz://1147701/chmanchester https://reviewboard.mozilla.org/r/6187/#review5291 sweet. I'll trust in you to know we only need jsshel for jittest :) sorry, I didn't realize it was a one liner. bad /me for not checking ahead of time. nit: I try to go for code like `if self._query_specified_suites('jittest')` over the double negative `if self._query_specified_suites('jittest') is not None` but up to you.
Attachment #8584191 - Flags: review?(jlund) → review+
Assignee: nobody → cmanchester
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #8584191 - Attachment is obsolete: true
Attachment #8619877 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: