NAME

Tapper::CLI::Testrun

SYNOPSIS

This module is part of the Tapper::CLI framework. It is supposed to be used together with App::Rad. All following functions expect their arguments as $c->options->{$arg} unless otherwise stated.

use App::Rad;
use Tapper::CLI::Testrun;
Tapper::CLI::Testrun::setup($c);
App::Rad->run();

NAME

Tapper::CLI::Testrun - Tapper - testrun related commands for the tapper CLI

FUNCTIONS

b_print_single_testrun

print column data for a single testrun row to STDOUT

b_print_testruns

print column data for resultset to STDOUT

ar_get_list_testrun_parameters

return list testrun parameters and descriptions

ar_get_rerun_testrun_parameters

return rerun testrun parameters and descriptions

ar_get_delete_testrun_parameters

return delete testrun parameters and descriptions

ar_get_create_testrun_parameters

return create testrun parameters and descriptions

create_macro_preconditions

Process a macroprecondition. This includes substitions using Template::Toolkit, separating the individual preconditions that are part of the macroprecondition and putting them into the database. Parameters fit the App::Cmd::Command API.

@param hashref - hash containing options @param hashref - hash containing arguments

@returnlist array containing precondition ids

s_create_testrun_parameter_check

check command line parameters for create testrun and return error if exists

b_create_testrun

create a testrun

b_delete

delete a testrun

b_rerun

rerun an existing testrun

ar_get_queue_ids

return an array reference of queue_ids for a an array reference of queue_names

ar_get_host_ids

return an array reference of host_ids for a an array reference of host_names

b_list_testrun

list existing restuns

testrun_update

Update values of an existing testrun.

b_cancel

Cancel a running testrun. If the given testrun is currently not running, the function does the obvious right thing and also warns the user.

setup

Initialize the testplan functions for tapper CLI

AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The (two-clause) FreeBSD License