Open Bug 670918 Opened 13 years ago Updated 2 years ago

make package-tests includes many .cpp and mochitests in reftest/tests/ folder

Categories

(Testing :: Reftest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

Details

I was poking around in the reftest tests from a packaged tests file and found that we have a lot of non reftest files.

specifically:
editor/composer/*
editor/libeditor/*
layout/style/test/*
This is an unfortunate side-effect of the way reftest packaging works:
http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/Makefile.in#109

Since reftests live in the srcdir, we parse the manifest to find all dirs containing tests and supporting test files. Unfortunately we don't have any way to determine the set of files that are tests + test support files (images, etc) reliably, so we simply recursively copy all directories containing tests, as well as any directory referenced in a http() directive in the manifest, since tests can access any file in those directories.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.