- COPYRIGHT AND LICENSE
Tapper::MCP::Master - Wait for new testruns and start a new child when needed
use Tapper::MCP::Master; my $mcp = Tapper::MCP::Master->new(); $mcp->run();
Number of pending dead child processes.
Contains all information about all child processes.
Associated Scheduler object.
Clean up the output directory for this test.
@param int - testrun id
Set interrupt handlers for important signals. No parameters, no return values.
@return success - 0
Each test run is handled by a child process. All information needed for communication with this child process is kept in $self->child. Reset all these information when the test run is finished and the child process ends.
Inform the notification framework that an event occured in MCP.
@param string - event name @param hash ref - message
Run the tests that are due.
@param TestrunScheduling - job to run @param boolean - are we in revive mode?
@retval success - 0 @retval error - error string
Main loop of this module. Checks for new tests and runs them. The looping itself is put outside of function to allow testing.
Create communication data structures used in MCP.
Restart the children that were running before MCP was shut down/crashed. The function expects no parameters and has no return values.
Set up all needed data structures then wait for new tests.
AMD OSRC Tapper Team <email@example.com>
Tapper Team <firstname.lastname@example.org>
This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License