| | |
| | | <!-- ************************************************************ --> |
| | | <function name="modifyLoad" scope="local"> |
| | | <function-map-args> |
| | | <function-arg-def name="workingDir" type="required"> |
| | | </function-arg-def> |
| | | <function-arg-def name="client" type="required"> |
| | | </function-arg-def> |
| | | <function-arg-def name="instances" type="required"> |
| | |
| | | <location>client.getHost()</location> |
| | | <command mode="'shell'">'chmod +x build.ksh'</command> |
| | | <parms/> |
| | | <workdir>'%s/clients/modifyLoad' % LOCAL_TESTS_DIR</workdir> |
| | | <workdir>workingDir</workdir> |
| | | <envs>['PATH=/bin:/usr/bin']</envs> |
| | | <stderr mode="'stdout'"/> |
| | | <stdout/> |
| | |
| | | <location>client.getHost()</location> |
| | | <command mode="'shell'">'./build.ksh'</command> |
| | | <parms/> |
| | | <workdir>'%s/clients/modifyLoad' % LOCAL_TESTS_DIR</workdir> |
| | | <workdir>workingDir</workdir> |
| | | <envs>['PATH=/bin:/usr/bin']</envs> |
| | | <stderr mode="'stdout'"/> |
| | | <stdout/> |
| | |
| | | <if expr="RC != 0"> |
| | | <message> |
| | | 'FAILED to build client %s on %s' % \ |
| | | (client.getHost(),client.getName()) |
| | | (client.getName(),client.getHost()) |
| | | </message> |
| | | </if> |
| | | <script> |
| | |
| | | <location>client.getHost()</location> |
| | | <command>'java'</command> |
| | | <parms>cParam </parms> |
| | | <workdir>'%s/clients/searchLoad' % LOCAL_TESTS_DIR</workdir> |
| | | <workdir>workingDir</workdir> |
| | | <envs>['PATH=/bin:/usr/bin']</envs> |
| | | <stderr mode="'stdout'"/> |
| | | <stdout>outFile</stdout> |