Closed
Bug 722075
Opened 13 years ago
Closed 13 years ago
testing/mochitest/tests/browser/Makefile.in has commented-out lines before $(NULL)
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 12
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file)
1.37 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
The file testing/mochitest/tests/browser/Makefile.in has some commented-out lines at the end of its test lists, before the final $(NULL)
IIRC, any commented-out lines in the middle of a Makefile's list of mochitests will end the list prematurely, right at that point -- so really we want the list-terminating $(NULL) to be *before* the commented-out lines.
(In this case it doesn't really matter because there aren't any actual tests after the commented-out chunk; still, we might as well fix this in case any tests are added/uncommented later on, and for style/consistency/correctness points).
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86 → All
Version: unspecified → Trunk
Assignee | ||
Comment 1•13 years ago
|
||
Tagging gavin for r?, since his name's at the top of the file.
Attachment #592431 -
Flags: review?
Assignee | ||
Updated•13 years ago
|
Attachment #592431 -
Flags: review? → review?(gavin.sharp)
Comment 2•13 years ago
|
||
Comment on attachment 592431 [details] [diff] [review]
fix
I left it this way because it makes it easier to re-enable those tests (you don't need to move the $(NULL) around), and AFAICT there is no practical impact. I guess people don't do that enough for it to matter.
Attachment #592431 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 3•13 years ago
|
||
> AFAICT there is no practical impact
None right now, correct -- but if someone were to add some more tests between the commented-out chunk and the $(NULL) line, e.g. to maintain alphabetical ordering or consistency or something, then it'd be bad - those added tests would never be run. So I think best-practice is to have $(NULL) before the commented-out lines, to make it clear where the list actually ends.
Thanks for the review! Landed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c2a8aa90e06
Target Milestone: --- → Firefox 12
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•