Closed
Bug 969524
Opened 10 years ago
Closed 6 years ago
Cannot run individual tests that appear in multiple manifests
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mossop, Unassigned)
References
Details
Bug 920849 failed to address my original problem, that there seems to be no way to run an individual test from the add-ons manager xpcshell tests because they are duplicated. Running mach xpcshell-test on the directory runs two of everything and running it for a single file runs it twice.
Comment 1•10 years ago
|
||
Bug 920849 provides the framework for implementing this. We just need to figure out and implement the UX. How do we allow users to select a single test/configuration when multiple manifests/configurations are involved? How about a new syntax for test discovery: mach xpcshell-test path/to/xpcshell.ini:test_foo.js This allows you to specify the manifest and a test/file inside of it. Will that satisfy your requirements? If you have other ideas, I'm all ears.
Component: Build Config → XPCShell Harness
Depends on: 920849
Flags: needinfo?(dtownsend+bugmail)
Product: Core → Testing
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #1) > Bug 920849 provides the framework for implementing this. We just need to > figure out and implement the UX. > > How do we allow users to select a single test/configuration when multiple > manifests/configurations are involved? > > How about a new syntax for test discovery: > > mach xpcshell-test path/to/xpcshell.ini:test_foo.js The downside to this is that the ini is in the srcdir but I commonly run tests from the objdir. I don't have a better idea though so if that is what we have that's fine.
Flags: needinfo?(dtownsend+bugmail)
Comment 3•6 years ago
|
||
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•