The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tapper::Reports::Web::Controller::Tapper::Testruns

DESCRIPTION

Catalyst Controller.

index

Prints a list of a testruns together with their state, start time and end time. No options, not return values.

TODO: Too many testruns, takes too long to display. Thus, we need to add filter facility.

get_test_list_from_precondition

Utility function to extract testprograms from a given (sub-) precondition.

get_testrun_overview

This function reads and parses all precondition of a testrun to generate a summary of the testrun which will then be shown as an overview. It returns a hash reference containing: * name * arch * image * test

@param testrun result object

@return hash reference

new_create

This function handles the form for the first step of creating a new testrun.

get_hostnames

Get an array of all hostnames that can be used for a new testrun. Note: The array contains array that contain the hostname twice (i.e. (['host', 'host'], ...) because that is what the template expects.

@return success - ref to array of [ hostname, hostname ]

parse_macro_precondition

Parse the given file as macro precondition and return a has ref containing required, optional and mcp_config fields.

@param catalyst context @param string - file name

@return success - hash ref @return error - string

handle_precondition

Check whether each required precondition has a value, uploads files and so on.

@param Catalyst context @param config hash

@return success - list of precondition ids @return error - error message

fill_usecase

Creates the form for the last step of creating a testrun. When this form is submitted and valid the testrun is created based on the gathered data. The function is used directly by Catalyst which therefore cares for params and returns.

NAME

Tapper::Reports::Web::Controller::Tapper::Testruns - Catalyst Controller

METHODS

index

AUTHOR

Steffen Schwigon,,,

LICENSE

This program is released under the following license: freebsd

AUTHORS

  • AMD OSRC Tapper Team <tapper@amd64.org>

  • Tapper Team <tapper-ops@amazon.com>

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