Tapper::MCP::Info
use Tapper::MCP::Info;
Tapper::MCP::Config - Object for cleaner API of handling mcp_info
Set number of reboots to be used in a reboot test.
@param int - PRC number @param int - number of reboots
@return success - 0
Get number of reboots to be used in a reboot test for a given PRC number.
@param int - PRC number
@return success - Number of reboots or 0 if not set
Add a PRC with given boot timeout.
@param int - PRC number @param int - boot timeout
@return success - 0 @return error - string
Add a testprogram for a given PRC. The given config has should have the following elements: program - string - full path of the test program timeout - int - timeout value for the test program timeout_testprogram - int - timeout value for the test program (deprecated) parameters - array of string - parameter array as given to exec
@param int - PRC number @param hash ref - config options for program
Get all testprogram timeouts for a given PRC.
@returnlist success - array of ints
Get all testprograms for a given PRC.
@returnlist success - 0
Get the number of PRCs in this object.
@return number of last PRC
Returns the boot timeout for a given PRC
@return success - Boot timeout, undef if not set
Setter for installer timeout.
@param int - Timeout value
Getter for installer timeout.
@return success - Timeout value
Add another message to the report we are going to send.
@param string - message
Get the report array generated by push_report_msg.
@return success - report array reference
Setter for timeout span for keep-alive handling. We need an explizit setter because a single setter/getter function could not distinguish between called as getter and called to set undef.
@param int - timeout span for keep-alive handling
@return new value of keep-alive timeout
Getter/Setter for timeout span for keep-alive handling. If you need to set the timeout to an undefined value please use set_keep_alive_timeout.
@optparam int - timeout span for keep-alive handling
@return (new) value of keep-alive timeout
Setter and getter for test_type. This element is used to signal different test_type variants like ssh or SimNow.
Returns a hash structure suitable for feeding it into
Setter and getter for skip_install. This element is used to signal tests without any installer at all.
AMD OSRC Tapper Team, <tapper at amd64.org>
<tapper at amd64.org>
None.
You can find documentation for this module with the perldoc command.
perldoc Tapper
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd
AMD OSRC Tapper Team <tapper@amd64.org>
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::MCP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::MCP
CPAN shell
perl -MCPAN -e shell install Tapper::MCP
For more information on module installation, please visit the detailed CPAN module installation guide.