Tapper::TestSuite::AutoTest - Tapper - Complete OS testing in a box via autotest
You most likely want to run the frontend cmdline tool like this
Run an autotest subtest and report results to Tapper:
$ tapper-testsuite-autotest -t hackbench
Run multiple autotest subtests and report results to Tapper:
$ tapper-testsuite-autotest -t hackbench -t hwclock
This module wraps autotest to make its (sub) tests available for Tapper.
The commandline tool simply calls the single steps like this:
use Tapper::TestSuite::AutoTest; my $wrapper = Tapper::TestSuite::AutoTest->new(); my $args = $wrapper->parse_args(); $args = $wrapper->install($args); $args = $wrapper->run($args);
The reporting evaluates several environment variables:
TAPPER_REPORT_SERVER TAPPER_REPORT_API_PORT TAPPER_REPORT_PORT TAPPER_TESTRUN TAPPER_REPORT_GROUP
with some sensible defaults. They are automatically provided when using Tapper automation.
In case you run it manually the most important variable is TAPPER_REPORT_SERVER pointing to your central Tapper server.
TAPPER_REPORT_SERVER
See the Tapper manual for more details.
Checks whether a given directory exists and creates it if not.
@param string - directory to create
@return success - 0 @return error - error string
Log and do a multi arg system().
system()
Log and do a single arg system().
Move the client to where it belongs.
@param string - download directory @param string - target directory
@return die() in case of error
Install the autotest framework from a given source into a given target
@param hash ref - args
@return hash ref - args
Send the actual report to reports receiver framework.
@return success - int - report id @return error - die()
Upload the stats file to reports framework.
@param int - report id @param hash ref - args
Return hostname for metainfo in typical Tapper notation, i.e., just the hostname (without FQDN) in host context or host:guest (colon separated) in guest context.
host:guest
Send the test results to Tapper.
Add meta information from files generated by autotest.
@return string - Tapper TAP metainfo headers
Print help and die.
Parse command line arguments and Tapper ENV variables.
Run the requested autotest test(s), collect their results and report them.
AMD OSRC Tapper Team <tapper@amd64.org>
This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::TestSuite::AutoTest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::TestSuite::AutoTest
CPAN shell
perl -MCPAN -e shell install Tapper::TestSuite::AutoTest
For more information on module installation, please visit the detailed CPAN module installation guide.