NAME

Tapper::PRC::Testcontrol - Control running test programs

SYNOPSIS

use Tapper::PRC::Testcontrol;

FUNCTIONS

testprogram_execute

Execute one testprogram. Handle all error conditions.

@param string - program name @param int - timeout @param string - output directory @param array of strings - parameters for test program

@return success - 0 @return error - error string

guest_start

Start guest images for virtualisation. Only Xen guests can be started at the moment.

@return success - 0 @return error - error string

create_log

Checks whether fifos for guest logging exists and creates them if not. Existing files of wrong type are deleted.

@retval success - 0 @retval error - error string

nfs_mount

Mount the output directory from an NFS server. This method is used since we only want to mount this NFS share in live mode.

@return success - 0 @return error - error string

control_testprogram

Control running of one program including caring for its input, output and the environment variables some testers asked for.

@return success - 0 @return error - error string

get_peers_from_file

Read syncfile and extract list of peer hosts (not including this host).

@param string - file name

@return success - hash ref

@throws plain error message

wait_for_sync

Synchronise with other hosts belonging to the same interdependent testrun.

@param array ref - list of hostnames of peer machines

@return success - 0 @return error - error string

run

Main function of Program Run Control.

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