Closed Bug 906837 Opened 13 years ago Closed 13 years ago

mach command for running webapprt chrome tests

Categories

(Firefox Graveyard :: Webapp Runtime, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: myk, Assigned: marco)

Details

Attachments

(1 file, 2 obsolete files)

There should be a mach command for running webapprt-test-chrome tests, so one can use the simpler mach syntax to run them, i.e.: ./mach webapprt-test-chrome webapprt/test/chrome/browser_sample.js Which is the equivalent of: make -C (objdir) webapprt-test-chrome TEST_PATH=webapprt/test/chrome/browser_sample.js
Attached patch mach_webapprt (obsolete) — — Splinter Review
I still need to test on Win and Mac.
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Attached patch Patch (obsolete) — — Splinter Review
Attachment #792472 - Attachment is obsolete: true
Attachment #793085 - Flags: review?(adw)
Comment on attachment 793085 [details] [diff] [review] Patch Review of attachment 793085 [details] [diff] [review]: ----------------------------------------------------------------- The webapprt parts match the equivalent parts in testsuite-targets.mk, so looks good to me, but I don't know mach, so you should probably ask a mach person to look at this, too.
Attachment #793085 - Flags: review?(adw) → review+
Attachment #793085 - Flags: review?(gps)
Comment on attachment 793085 [details] [diff] [review] Patch Review of attachment 793085 [details] [diff] [review]: ----------------------------------------------------------------- ::: testing/mochitest/mach_commands.py @@ +116,5 @@ > + appname = os.path.join(self.distdir, self.substs['MOZ_MACBUNDLE_NAME'], \ > + 'Contents', 'MacOS', 'webapprt-stub' + automation.BIN_SUFFIX) > + else: > + appname = os.path.join(self.distdir, 'bin', 'webapprt-stub' + \ > + automation.BIN_SUFFIX) Nit: You don't need line continuations here since you are inside parens ().
Attachment #793085 - Flags: review?(gps) → review+
Attached patch Patch — — Splinter Review
Carrying r+.
Attachment #793085 - Attachment is obsolete: true
Attachment #794213 - Flags: review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 26
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: