Closed Bug 372958 Opened 18 years ago Closed 18 years ago

a variable should be set for _tests/testing/mochitest/tests directory

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 370750

People

(Reporter: ray, Unassigned)

Details

A mochitest test will be invoked by the automated suite if the file appears under this directory. So, any module which wishes to contribute tests will need to copy the files to this directory in its "make check". This can best be done with a variable, so that if the location of this directory changes, it does not have to change in every Makefile.in in which is appears. For example, the content/xul/content/test/Makefile.in file has this: libs:: $(_TEST_FILES) $(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) This and the other files which contain this should not be hard-coding it. But there is no variable to replace this string with, at the moment.
I claim this is a duplicate of bug 370750 as it's currently described, although it's not clear the setup I propose there will actually happen (apparently people like the flexibility of naming the set of test files, to aid with testing on branches and such). Reopen if you disagree.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Moving a bunch of Core :: Testing bugs to Testing :: Mochitest to clear out the former, which is obsolete now that we have more specialized categories for such bugs; filter on the string "MochitestMmMm" to delete all these notifications.
Component: Testing → Mochitest
Product: Core → Testing
QA Contact: testing → mochitest
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.