.\" -*- 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::Filter 3" .TH Test::Lintian::Filter 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::Filter \-\- Functions to select with tests to run .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 2 \& use Test::Lintian::Filter qw(find_selected_lintian_testpaths); \& my @testpaths = find_selected_lintian_testpaths(\*(Aqsuite:changes\*(Aq); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Functions that parse the optional argument 'only_run' to find the tests that are supposed to run. .SH FUNCTIONS .IX Header "FUNCTIONS" .IP "get_suitepath(TEST_SET, SUITE)" 4 .IX Item "get_suitepath(TEST_SET, SUITE)" Returns a string containing all test belonging to suite SUITE relative to path TEST_SET. .IP "find_selected_scripts(SCRIPT_PATH, ONLY_RUN)" 4 .IX Item "find_selected_scripts(SCRIPT_PATH, ONLY_RUN)" Find all test scripts in SCRIPT_PATH that are identified by the user's selection string ONLY_RUN. .IP "find_selected_lintian_testpaths(TEST_SET, ONLY_RUN)" 4 .IX Item "find_selected_lintian_testpaths(TEST_SET, ONLY_RUN)" Find all those test paths with Lintian tests located in the directory TEST_SET and identified by the user's selection string ONLY_RUN. .IP find_all_testpaths(PATH) 4 .IX Item "find_all_testpaths(PATH)" Returns an array containing all test paths located under PATH. They are identified as test paths by a specially named file containing the test description (presently 'desc'). .IP "find_testpaths_by_name(PATH, NAME)" 4 .IX Item "find_testpaths_by_name(PATH, NAME)" Returns an array containing all test paths with the name NAME located under PATH. The test paths are identified as such by a specially named file containing the test description (presently 'desc'). .IP find_all_tags(TEST_PATH) 4 .IX Item "find_all_tags(TEST_PATH)" Returns an array containing all tags that somehow concern the test located in TEST_PATH.