SysTutorials

Linux Manual Pages › Section 3

testlintianrun(3)

Test::Lintian::Run — generic runner for all suites

Synopsis

 use Test::Lintian::Run qw(runner);
 my $runpath = "test working directory";
 runner($runpath);

Description

Generic test runner for all Lintian test suites

Functions

logged_runner(RUN_PATH)
Starts the generic test runner for the test located in RUN_PATH and logs the output.
runner(RUN_PATH)
This routine provides the basic structure for all runners and runs the test located in RUN_PATH.
check_literal
check_tags
check_result(DESC, EXPECTED, ACTUAL)
This routine checks if the EXPECTED tags match the calibrated ACTUAL for the test described by DESC. For some additional checks, also need the ORIGINAL tags before calibration. Returns a list of errors, if there are any.

Author

Originally written by Felix Lechner <felix.lechner [at] lease-up.com> for Lintian.

See Also

lintian(1)