Closed
Bug 394875
Opened 18 years ago
Closed 15 years ago
xpcshell-tests should be installed to _tests/xpcshell/$relativesrcdir
Categories
(Testing :: XPCShell Harness, enhancement)
Testing
XPCShell Harness
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 586754
People
(Reporter: ted, Unassigned)
Details
Attachments
(1 obsolete file)
xpcshell-based unit tests currently get installed to _tests/xpcshell-simple/$MODULE. This is fine, but for some of the work I'm doing in bug 379327 and bug 394250, it would be nice if they were installed using the relative src path like mochitests, since we could then give a bonsai link in the tinderbox log output for failures. Mochitest accomplishes this by having the Makefile.in set "relativesrcdir", for example: http://mxr.mozilla.org/mozilla/source/content/base/test/Makefile.in#42 . We could use this same var for xpcshell tests, then the unit test output would be easily bonsai-linkable.
| Reporter | ||
Comment 1•18 years ago
|
||
Trivial patch assuming we fix bug 395019.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #280414 -
Flags: review?(benjamin)
Comment 2•18 years ago
|
||
this looks fine to me, but I'm no bsmedberg. :)
Updated•18 years ago
|
Attachment #280414 -
Flags: review?(benjamin) → review+
| Reporter | ||
Updated•18 years ago
|
Attachment #280414 -
Flags: approval1.9?
| Reporter | ||
Comment 3•18 years ago
|
||
Comment on attachment 280414 [details] [diff] [review]
use relativesrcdir instead of MODULE
[Superseded by bug 586754]
Removing approval request since I backed out bug 395019.
Attachment #280414 -
Flags: approval1.9?
| Reporter | ||
Comment 4•17 years ago
|
||
Morphing. I have decided that instead we should just run tests from the srcdir.
Assignee: ted.mielczarek → nobody
Component: Testing → TUnit
No longer depends on: 395019
Product: Core → Testing
QA Contact: testing → tunit
Summary: xpcshell-based unit test framework should install tests to _tests/xpcshell-simple/$relativesrcdir → xpcshell-based unit test framework should run tests from srcdir
Version: Trunk → unspecified
| Reporter | ||
Updated•17 years ago
|
Attachment #280414 -
Attachment is obsolete: true
Comment 5•16 years ago
|
||
(In reply to comment #4)
> I have decided that instead we should just run tests from the srcdir.
Wouldn't this be the opposite of what was done in bug 421611?
| Reporter | ||
Comment 6•16 years ago
|
||
You're right.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Comment 7•16 years ago
|
||
Should we unmorph the bug, to s/MODULE/relativesrcdir/g?
| Reporter | ||
Comment 8•16 years ago
|
||
That'd be fine, if you want to fix it.
Comment 9•16 years ago
|
||
Unmorphing.
Updated•16 years ago
|
Status: REOPENED → NEW
Comment 10•15 years ago
|
||
Duplicated to bug 586754, isn't it?
Updated•15 years ago
|
Attachment #280414 -
Attachment description: use relativesrcdir instead of MODULE → use relativesrcdir instead of MODULE
[Superseded by bug 586754]
Comment 11•15 years ago
|
||
yes, this is the same thing except not using some automatic relativesrcdir trick.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago → 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•