Closed
Bug 1070057
Opened 10 years ago
Closed 10 years ago
Make TestResolver.resolve_tests filter by subsuite
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
Attachments
(1 file)
6.85 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I'm implementing a new test suite: Android instrumentation tests. This suite has natural subsuites that correspond to different instrumentation APK files; right now we have browser and background; I expect to grow a few more. I want to filter by subsuite both in my test runner (which parses manifests directly) and in my mach command (which uses all-tests.json and TestResolver). I'd like to make TestResolver.resolve_tests filter by subsuite as well.
There's a little wrinkle with devtools being a subsuite but handled specially; but I don't think I need to touch that.
Comment 1•10 years ago
|
||
It would be nice if subsuites were handled the same across all test harnesses. Having two different methods of dealing with them sounds confusing.
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1)
> It would be nice if subsuites were handled the same across all test
> harnesses. Having two different methods of dealing with them sounds
> confusing.
I agree, but I don't understand this special processing for devtools and frankly I don't care to shave that yak.
Assignee | ||
Comment 3•10 years ago
|
||
You can see the devtools funkyness just above. I think the thing is
that devtools is a subsuite that for historical reasons is treated as
a different flavour. Very confusing.
Attachment #8492434 -
Flags: review?(ted)
Comment 4•10 years ago
|
||
I think it was actually a request from the devtools team to have their own symbol on tbpl but instead of implementing a new mochitest flavour it was done via manifest hacking (which I'm guessing required fewer buildbot related changes).
Comment 5•10 years ago
|
||
Comment on attachment 8492434 [details] [diff] [review]
Make TestResolver.resolve_tests filter by subsuite. r=ted
Review of attachment 8492434 [details] [diff] [review]:
-----------------------------------------------------------------
::: python/mozbuild/mozbuild/testing.py
@@ +90,5 @@
> ``xpcshell``.
> +
> + If ``subsuite`` is a string, it will be used to filter returned tests
> + to only be in the subsuite specified. A subsuite is something like
> + ``browser`` or ``background``.
I'm not sure that the examples in the docstring are super-useful, given that they vary from suite to suite.
Attachment #8492434 -
Flags: review?(ted) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Assignee: nobody → nalexander
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Flags: qe-verify-
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
•