Closed Bug 948512 Opened 12 years ago Closed 12 years ago

Autophone - specify device specific tests

Categories

(Testing Graveyard :: Autophone, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

Details

Attachments

(2 files)

Attached patch devices.patch v1Splinter Review
When running multiple tests on multiple devices, it is useful to be able to restrict some devices to running only a specific set of tests. The easiest short term solution is to add an additional property to the test manifest which specifies which devices are to run the specific test as a space delimited list. If devices = all or if no devices property is specified, then all devices will run the test.
Attachment #8345375 - Flags: review?(mcote)
Comment on attachment 8345375 [details] [diff] [review] devices.patch v1 Review of attachment 8345375 [details] [diff] [review]: ----------------------------------------------------------------- Looks good; just one comment. ::: autophone.py @@ +402,5 @@ > + device_hash['all'] = 1 > + else: > + for device in devices: > + device_hash[device] = 1 > + tests.append((x[1], config, device_hash)) Why not use a set instead of a hash?
Attachment #8345375 - Flags: review?(mcote) → review+
Didn't even occur to me for some reason. I'll do that.
Attached patch devices.patch v2Splinter Review
This is what I checked in.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: