logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

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_hints check_result(DESC, EXPECTED, ACTUAL) 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.

Name

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

See Also

lintian(1) Lintian v2.122.0ubuntu1 2025-05-01 Test::Lintian::Run(3)

Synopsis

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

See Also