Closed
Bug 1435820
Opened 6 years ago
Closed 6 years ago
[mozprocess] Remove unused C implemenation of proclaunch and all its support files
Categories
(Testing :: Mozbase, enhancement)
Tracking
(firefox60 fixed)
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
I would like to clean-up the current mozprocess unit tests to allow us an easier addition of running the tests on Windows, and re-enabling them for OS X. 1) The disabled unit test `test_mozprocess.py`(done ages ago via bug 877864) seems to be unnecessary those days. It is also the only test which is actually using the proclauncer as implemented in C. Everything else is using Python to launch the wanted processes for testing mozprocess. As such lets get this test and all unused files removed. 2) Helper modules should be placed into a sub folder (package). Same for ini files.
Assignee | ||
Comment 1•6 years ago
|
||
Oh, I missed the iniparser which we also want to remove. The Python implementation is using ConfigParser for that.
Assignee | ||
Comment 2•6 years ago
|
||
With https://github.com/mozilla/mozbase-deprecated/commit/a49d775725c4bd5a97492f1728428bdac62aea7f we landed the new Python implementation of proclaunch and never actually removed the old c implementation.
Status: NEW → ASSIGNED
Depends on: 778267
Summary: [mozprocess] Refactor unit tests → [mozprocess] Remove unused C implemenation of proclaunch and all its support files
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•6 years ago
|
||
Try push is here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9d903b42d6f2fa18fac7e7109bf03146d02f166d
Assignee | ||
Comment 7•6 years ago
|
||
Just to note this patch needs a little bit of refactoring due to merge conflicts with the patch from bug 921632 which is not on central yet.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8948519 [details] Bug 1435820 - [mozprocess] Remove unused C implemenation of proclaunch and all its support files. https://reviewboard.mozilla.org/r/217932/#review223976 Nice cleanup, thanks!
Attachment #8948519 -
Flags: review?(ahalberstadt) → review+
Comment 11•6 years ago
|
||
mozreview-review |
Comment on attachment 8948520 [details] Bug 1435820 - Rename mozprocess unit tests and support files. https://reviewboard.mozilla.org/r/217934/#review223978 This looks much better!
Attachment #8948520 -
Flags: review?(ahalberstadt) → review+
Comment 12•6 years ago
|
||
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48250e34a17d [mozprocess] Remove unused C implemenation of proclaunch and all its support files. r=ahal https://hg.mozilla.org/integration/autoland/rev/828f63e2d52a Rename mozprocess unit tests and support files. r=ahal
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/48250e34a17d https://hg.mozilla.org/mozilla-central/rev/828f63e2d52a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•