Test::Lintian::Prepare

Section: Debian Package Checker (3)
Updated: 2019-04-04
Page Index
 

NAME

Test::Lintian::Prepare -- routines to prepare the work directories  

SYNOPSIS

  use Test::Lintian::Prepare qw(prepare);

 

DESCRIPTION

The routines in this module prepare the work directories in which the tests are run. To do so, they use the specifications in the test set.  

FUNCTIONS

early_logpath(RUN_PATH)
Return the path of the early log for the work directory RUN_PATH.
logged_prepare(SPEC_PATH, RUN_PATH, TEST_SET, REBUILD)
Prepares the work directory RUN_PATH for the test specified in SPEC_PATH. The optional parameter REBUILD forces a rebuild if true.

Captures all output and places it in a file near the work directory. The log can be used as a starting point by the runner after copying it to a final location.

prepare(SPEC_PATH, RUN_PATH, TEST_SET, REBUILD)
Populates a work directory RUN_PATH with data from the test located in SPEC_PATH. The optional parameter REBUILD forces a rebuild if true.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FUNCTIONS