Closed Bug 654752 Opened 13 years ago Closed 13 years ago

Make runtests.py work out of the box with Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 6

People

(Reporter: stechz, Assigned: stechz)

References

Details

Attachments

(1 file, 1 obsolete file)

runtests.py currently needs a binary passed to it in order to work with Fennec. blassey suggests that we work like Firefox, where fennec is a run-mozilla.sh script and fennec-bin is the actual binary.
Attachment #530080 - Flags: review?(blassey.bugs)
Comment on attachment 530080 [details] [diff] [review]
Make runtests.py work out of the box with Fennec

Hey Joel,

I'd love your feedback on this. Will this affect our automation at all?
Attachment #530080 - Flags: feedback?(jmaher)
Attachment #530080 - Attachment is obsolete: true
Attachment #530080 - Flags: review?(blassey.bugs)
Attachment #530080 - Flags: feedback?(jmaher)
Mark's suggestion was to change automation to look for the proper binary name.
Comment on attachment 530101 [details] [diff] [review]
Make runtests.py work out of the box with Fennec

Review of attachment 530101 [details] [diff] [review]:

this will work for android and maemo automation since we specifically override the binary name (i.e. org.mozilla.fennec and <custompath>/fennec).

A change like this I would run on try server even though this is very specfic to mobile.
(In reply to comment #3)
> Created attachment 530101 [details] [diff] [review] [review]
> Make runtests.py work out of the box with Fennec

So, if I understand this properly, what we'll have at the end of a build with these changes is two identical files: fennec-bin and fennec both of which are binary executables?  I just don't see where you are creating the fennec shell script in this patch.  Is that done automatically?

I'm building it all right now, will probably be able to answer my own questions once the build finishes.

In general, as long as the new 'fennec' executable script can take all the parameters of the old 'fennec' binary executable you should be just fine.  The release engineering automation does depend on calling 'fennec' for desktop fennec testing, so as long as it exists and passes the parameters through, you should be good to go.

So tentative r+, I'll poke back once I see what my build outputs.
Hey Clint,

Sorry to confuse you. The strategy changed from doing what Firefox does to changing the automation to recognize Fennec because we found the script to be in bad taste. :)

My try run is here: http://tbpl.mozilla.org/?tree=Try&rev=782f8e6a7721
Comment on attachment 530101 [details] [diff] [review]
Make runtests.py work out of the box with Fennec

the try run and the builds look good to me.  Also I don't think that fennec desktop stuff is running right now in production so likelihood of messing with that code is low.
Attachment #530101 - Flags: review?(ctalbert) → review+
Pushed http://hg.mozilla.org/mozilla-central/rev/ffe31dc2d27f
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
FWIW, bug 557027 is where I ditched the 'fennec' script (and turned fennec-bin into fennec), enabled for our Tinderbox builds in bug 557027.
Assignee: nobody → ben
Target Milestone: --- → Firefox 6
Backed out because something that landed with this caused a new orange (Win debug Moth tabview/browser_tabview_bug597248.js):
http://hg.mozilla.org/mozilla-central/rev/eaaa24ff93a0
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
re-landed: http://hg.mozilla.org/mozilla-central/rev/59594568f152
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Verified fixed in Tinderbox http://tbpl.mozilla.org/?tree=Mobile&noignore=1
Status: RESOLVED → VERIFIED
Blocks: 710960
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: