NAME

Tapper::Fake::Child - Fake Tapper::MCP::Child for testing

SYNOPSIS

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

sub BUILDARGS { my $class = shift;

if ( @_ >= 1 and not ref $_[0] ) {
        return { testrun => $_[0] };
}
else {
        return $class->SUPER::BUILDARGS(@_);
}
}

FUNCTIONS

runtest_handling

Start testrun and wait for completion.

@param string - system name

@return success - 0 @return error - error string

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