Scroll to navigation

Test::Lintian::Prepare(3) Debian Package Checker Test::Lintian::Prepare(3)

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.
2019-05-26 Lintian v2.15.0~bpo9+1