.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Test::Lintian::Run 3" .TH Test::Lintian::Run 3 2024-02-05 "Lintian v2.117.0" "Debian Package Checker" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Test::Lintian::Run \-\- generic runner for all suites .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Test::Lintian::Run qw(runner); \& \& my $runpath = "test working directory"; \& \& runner($runpath); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Generic test runner for all Lintian test suites .SH FUNCTIONS .IX Header "FUNCTIONS" .IP logged_runner(RUN_PATH) 4 .IX Item "logged_runner(RUN_PATH)" Starts the generic test runner for the test located in RUN_PATH and logs the output. .IP runner(RUN_PATH) 4 .IX Item "runner(RUN_PATH)" This routine provides the basic structure for all runners and runs the test located in RUN_PATH. .IP check_literal 4 .IX Item "check_literal" .PD 0 .IP check_hints 4 .IX Item "check_hints" .IP "check_result(DESC, EXPECTED, ACTUAL)" 4 .IX Item "check_result(DESC, EXPECTED, ACTUAL)" .PD This routine checks if the EXPECTED hints match the calibrated ACTUAL for the test described by DESC. For some additional checks, also need the ORIGINAL hints before calibration. Returns a list of errors, if there are any. .SH AUTHOR .IX Header "AUTHOR" Originally written by Felix Lechner for Lintian. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlintian\fR\|(1)