Tapper Team > Tapper-MCP > Tapper::MCP::Child

Download:
Tapper-MCP-4.1.2.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.2   Source  

NAME ^

Tapper::MCP::Child - Control one specific testrun on MCP side

SYNOPSIS ^

 use Tapper::MCP::Child;
 my $client = Tapper::MCP::Child->new($testrun_id);
 $child->runtest_handling($system);

FUNCTIONS ^

get_messages

Read all pending messages from database. Try no more than timeout seconds

@param int - timeout

@return success - Resultset class countaining all available messages @return timeout - Resultset class countaining zero messages

wait_for_testrun

Wait for the current testrun and update state based on messages.

@return hash { report_array => reference to report array, prc_state => $prc_state }

generate_configs

@param string - hostname @param int - port number of server

@return success - config hash @return error - string

report_mcp_results

Send TAP reports of MCP results in general and the results collected for each PRC.

@param Tapper::MC::Net object

handle_error

Sends a tap report because an error occured.

@param string - error string

@return error string

start_testrun

Start Installer on testmachine based on the type of testrun.

@param string - host name @param hash ref - config

@return success - 0 @return error - error string

runtest_handling

Start testrun and wait for completion.

@param string - system name @param bool - revive mode?

@return success - 0 @return error - error string

AUTHOR ^

AMD OSRC Tapper Team, <tapper at amd64.org>

BUGS ^

None.

SUPPORT ^

You can find documentation for this module with the perldoc command.

 perldoc Tapper

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.

This program is released under the following license: freebsd

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: