[qmtest] targets for the local machine
Mark Mitchell
mark at codesourcery.com
Thu Mar 27 18:57:26 UTC 2003
> 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?
Probably the best way to do that is to do:
qmtest create-target -T localtarget thread_target.ThreadTarget
localhost
to create a target in the group "localhost". Then, put "localhost" in
the target group field for tests that should run there.
> 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'?
No -- that command doesn't contain a target group. You have to put the
target group at the end of the command like:
qmtest create-target -a host=jojo jojotarget rsh_target.RSHTarget
jojotarget
Yours,
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
More information about the qmtest
mailing list