Closed
Bug 699880
Opened 14 years ago
Closed 14 years ago
PerfConfigurator should err out if no tests are specified
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: BYK)
Details
(Whiteboard: [good first bug][mentor=jhammel])
Attachments
(1 file, 1 obsolete file)
Currently if you don't specify --activeTests, all of the tests
specified in sample.config get set to be run. This includes obselete
tests like ts_cold. Instead, we should require that --activeTests be called.
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=jhammel]
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → madbyk
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #572930 -
Flags: review?(jmaher)
Comment 2•14 years ago
|
||
Comment on attachment 572930 [details] [diff] [review]
Simple check to verifyCommandLine for activeTests emptiness.
Review of attachment 572930 [details] [diff] [review]:
-----------------------------------------------------------------
thanks, this looks great.
Attachment #572930 -
Flags: review?(jmaher) → review+
Comment 3•14 years ago
|
||
Comment on attachment 572930 [details] [diff] [review]
Simple check to verifyCommandLine for activeTests emptiness.
Review of attachment 572930 [details] [diff] [review]:
-----------------------------------------------------------------
Quick request, could we remove the following code as well? It's obviously no longer valid.
(PerfConfigurator.py around line 152):
#only do this if the user has provided a list of tests to turn on/off
# otherwise, all tests are considered to be active
if self.activeTests:
Attachment #572930 -
Flags: feedback-
| Assignee | ||
Comment 4•14 years ago
|
||
Attachment #572930 -
Attachment is obsolete: true
Attachment #572981 -
Flags: review?(wlachance)
Comment 5•14 years ago
|
||
Comment on attachment 572981 [details] [diff] [review]
Added a simple check to assert non-empty activeTests in verifyCommandLine and removed empty-checks for it in other places.
Looks great, thanks.
Attachment #572981 -
Flags: review?(wlachance) → review+
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•