3. qmtest create-target

3.1. Summary

Create a new target.

3.2. Synopsis

qmtest create-target [ option ...] name class [ group ]

3.3. Description

The qmtest create-target command creates a new target. A target is an entity that runs tests; normally, a target corresponds to a particular machine.

The target's name and class must be specified. An optional group may also be specified. When QMTest decides which target to use to run a particular tests, it will select a target that matches the test's requested target group.

The create-target command accepts these options:

-a name=value, --attribute name=value

Set the target class argument name to value. The set of valid argument names and valid values is dependent on the target class in use.

-T file, --targets file

Write the target description to the indicated file. If there are already targets listed in file, they will be preserved, except that any target with the same name as the new target will be removed. If this option is not present, the file used will be the QMTest/targets file in the test database directory.