Closed
Bug 917887
Opened 11 years ago
Closed 11 years ago
Move tests in browser/base/content/tests to browser/base/content/tests/general
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 27
People
(Reporter: jaws, Assigned: jaws)
References
Details
Attachments
(1 file, 1 obsolete file)
168.66 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Moving the tests in browser/base/content/tests to browser/base/content/tests/general will shorten the amount of time needed to just run the "general" tests. Currently when running `mach mochitest-browser browser/base/content/test` the social and newtab tests run as well, which adds a considerable amount of time to the local test run.
The newtab and social test directories will remain as direct children of browser/base/content/test.
After this bug is fixed, the directory structure should look like:
/browser/base/content/test
/browser/base/content/test/general/
/browser/base/content/test/newtab/
/browser/base/content/test/social/
If there is any potential to move groups of test that focus on specific functionality then those can move to their own specific folder.
Assignee | ||
Comment 1•11 years ago
|
||
Notable changes in this patch:
1) There were many references to file paths within tests. These needed to have 'general/' inserted within the path.
2) There were 3 references to 'social/moz.png', a file that doesn't exist. The file, moz.png, actually existed in the social directory's parent directory. I fixed these references to point to 'general/moz.png'.
I confirmed locally that running `mach mochitest-browser browser/base/content/test` still runs all of the tests, and running `mach mochitest-browser browser/base/content/test/general` runs only the tests in the 'general' directory.
https://tbpl.mozilla.org/?tree=Try&rev=624288f6ce19
Attachment #806771 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 2•11 years ago
|
||
Fixed references outside of browser/base/content and repushed to tryserver:
https://tbpl.mozilla.org/?tree=Try&rev=fb289fd2dd43
Attachment #806771 -
Attachment is obsolete: true
Attachment #806771 -
Flags: review?(gavin.sharp)
Attachment #806808 -
Flags: review?(gavin.sharp)
Comment 3•11 years ago
|
||
Comment on attachment 806808 [details] [diff] [review]
Patch v1.1
rs=me
Attachment #806808 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•