targets for the local machine

John Schmitt jschmitt at kealia.com
Thu Mar 27 00:35:36 UTC 2003


I'm a little confused about how targets work under QMTest.

The default value for "Target Group Pattern" is ".*".  This caused me a
little confusion when I created a new target that was supposed to be
used for one specific test only.  All the tests tried to run on it.  To
fix that, I'll just do a search-and-replace of the .* string to
something more meaningful.

Anyway, how do I create a target that translates to "this machine"?  

This is what I tried:

qmtest -v create-target -T localtarget localmachine
thread_target.ThreadTarget

Can anyone provide an example of a target file that runs test on only
the local machine?  What should the target field contain if I wanted a
test to run on the machine that is running QMTest?  

How would you create a target that I could use to run a test on a
machine called 'jojo'?  

qmtest create-target -a host=jojo jojotarget rsh_target.RSHTarget 

Then, the "Target Group Pattern" field for a test that should use this
target would be 'jojotarget'?

John





More information about the qmtest mailing list