Closed
Bug 772416
Opened 12 years ago
Closed 9 years ago
add mochitest.mk rules for installation into subdirectories
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: froydnj, Unassigned)
References
(Blocks 1 open bug)
Details
Post-bug 370750, a number of cases that couldn't use the MOCHITEST_*FILES logic do something like:
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(subdir)
The idea I have for fixing this is to extend the mochitest.mk logic to do something like:
MOCHITEST_SUBDIR_FILES = ...
MOCHITEST_SUBDIR = $(subdir)
and then include rules.mk as normal, no libs:: rule required.
I realize this doesn't generalize nicely to multiple subdirs, but individual Makefiles tend to not need to install to multiple subdirs anyway. What do people think?
Comment 1•12 years ago
|
||
FTR, I would be happy to require hg mv'ing those files to a subdir in the source, rather than complicating the build system for it; that also makes it clearer where the files end up without having to dive into makefiles.
Reporter | ||
Comment 2•12 years ago
|
||
And then you just add the subdir to MOCHITEST_FILES etc.? That would work, I suppose.
Reporter | ||
Comment 3•9 years ago
|
||
moz.build has made this obsolete.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•