Closed
Bug 1057328
Opened 10 years ago
Closed 10 years ago
--app-override dist is broken with message "Could not find path to gmp-fake plugin!"
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox33 fixed, firefox34 fixed)
RESOLVED
FIXED
mozilla34
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
Attachments
(1 file, 1 obsolete file)
4.13 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
http://hg.mozilla.org/mozilla-central/annotate/0b9dd32d1e16/testing/mochitest/runtests.py#l1206 http://hg.mozilla.org/mozilla-central/rev/d32c7255e4b9 bug 1041347
Assignee | ||
Comment 1•10 years ago
|
||
Also broken on Linux.
OS: Mac OS X → All
Hardware: x86 → All
Summary: --app-override dist is broken (at least on OSX) with message "Could not find path to gmp-fake plugin!" → --app-override dist is broken with message "Could not find path to gmp-fake plugin!"
Assignee | ||
Comment 2•10 years ago
|
||
I don't feel happy about how I'm finding this path, but I don't know if we have a better way that deals with platform idiosyncracies... do we?
Attachment #8477367 -
Flags: review?(ted)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment 3•10 years ago
|
||
Comment on attachment 8477367 [details] [diff] [review] get gmp path for app-override tests, Review of attachment 8477367 [details] [diff] [review]: ----------------------------------------------------------------- r- because I think this will break when called in other ways. Should be easy to fix though. ::: testing/mochitest/mach_commands.py @@ +360,5 @@ > + options.app = self.get_binary_path(where='staged-package') > + elif app_override: > + options.app = app_override > + # Need to fix the location of gmp_fake which might not be shipped in the binary > + gmp_fake = self.get_binary_path(what='gmp-fake', validate_exists=False) Alternately you could do: bin_path = self.get_binary_path() gmp_fake = os.path.join(os.path.dirname(bin_path), 'gmp-fake') ::: testing/mochitest/runtests.py @@ +1161,5 @@ > > return manifest > > def getGMPPluginPath(self, options): > + if options.gmp_path: I think this is going to break in the non-app-override case, since nothing is setting this property. You can default it to None in mochitest_options.py.
Attachment #8477367 -
Flags: review?(ted) → review-
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #3) > Comment on attachment 8477367 [details] [diff] [review] > get gmp path for app-override tests, > > Review of attachment 8477367 [details] [diff] [review]: > ----------------------------------------------------------------- > > r- because I think this will break when called in other ways. Should be easy > to fix though. > > ::: testing/mochitest/mach_commands.py > @@ +360,5 @@ > > + options.app = self.get_binary_path(where='staged-package') > > + elif app_override: > > + options.app = app_override > > + # Need to fix the location of gmp_fake which might not be shipped in the binary > > + gmp_fake = self.get_binary_path(what='gmp-fake', validate_exists=False) > > Alternately you could do: > bin_path = self.get_binary_path() > gmp_fake = os.path.join(os.path.dirname(bin_path), 'gmp-fake') This seems nicer. > > ::: testing/mochitest/runtests.py > @@ +1161,5 @@ > > > > return manifest > > > > def getGMPPluginPath(self, options): > > + if options.gmp_path: > > I think this is going to break in the non-app-override case, since nothing > is setting this property. You can default it to None in mochitest_options.py. Running this locally without passing any app-override works, actually... but defaulting it explicitly is probably a good idea anyway. :-)
Assignee | ||
Updated•10 years ago
|
Attachment #8477367 -
Attachment is obsolete: true
Comment 6•10 years ago
|
||
Comment on attachment 8477406 [details] [diff] [review] get gmp path for app-override tests, Review of attachment 8477406 [details] [diff] [review]: ----------------------------------------------------------------- Feels like overkill to have an actual commandline argument that nobody needs, but it's not a big deal.
Attachment #8477406 -
Flags: review?(ted) → review+
Assignee | ||
Comment 7•10 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/ab38c3bfcb8f
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/ab38c3bfcb8f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla34
Comment 9•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/ee3f447df950
status-firefox33:
--- → fixed
status-firefox34:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•