Closed Bug 699880 Opened 14 years ago Closed 14 years ago

PerfConfigurator should err out if no tests are specified

Categories

(Testing :: Talos, defect)

defect
Not set
normal

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.
Whiteboard: [good first bug][mentor=jhammel]
Assignee: nobody → madbyk
Status: NEW → ASSIGNED
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 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-
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+
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.

Attachment

General

Created:
Updated:
Size: