Next: , Previous: Remote test case control, Up: Remote test case control


5.9.1 allocate keyword

The allocate keyword is used to allocate a slave, for example for running a test case on a remote phone. It uses Remote Control Protocol (RPC). The slave must always be allocated first before it can be used. The allocate keyword has two mandatory arguments, described below.

Argument
Slave type
The type of the slave

MIN only supports slave phone. phone indicates that slave phone is also running MIN. Other types must be handled by the slave implementation, i.e. when implementing separate support for external network simulator.

Slave name
A unique name for the slave

The allocate keyword can be used for example in the following way:

     allocate phone MySlave