Nilesh Patra pushed to branch master at lintian / lintian
Commits:
d7f6de52 by Nicholas Guriev at 2026-08-26T17:49:57+03:00
Update t/recipes/README
This commit reflects changes made in MR!738.
- - - - -
1 changed file:
- t/recipes/README
Changes:
=====================================
t/recipes/README
=====================================
@@ -195,13 +195,20 @@ orig
can omit files entirely from the debian directory and the
deletions will be ignored by dpkg-buildpackage.
-tags
- The expected output of Lintian when run on the package, including
- info and experimental tags. The Lintian output will be
- lexicographically sorted before comparing it with tags. This file
- may be empty if the test case should produce no Lintian output.
+hints
+ The expected tags that Lintian should emit when run on the package,
+ including info and experimental tags. The Lintian output will be
+ lexicographically sorted before comparing it with the hinted tags.
+ This file may be empty if the test case should produce no Lintian
+ output.
+
+literal
+ The expected literal output of Lintian printed on stdout and stderr.
+ Math-Strategy should be equal to "literal" in the test description.
+ This file may be used to verify output in non-standard formats or to
+ check error reporting. Either hints or literal must be present.
-pre_upstream
+pre-upstream
If present and executable, this script is run for a non-native test
type after preparing the upstream directory but before creating the
tarball. It receives the path to the package directory as its first
@@ -209,7 +216,7 @@ pre_upstream
represented in the template system (such as creating files that
shouldn't be stored in a revision control system).
-pre_build
+pre-build
If present and executable, this script is run after preparing the
upstream tarball (if any) and the package directory, but before
running dpkg-buildpackage or lintian. It receives the path to the
@@ -218,7 +225,13 @@ pre_build
system (such as deleting files from the template that aren't
desired).
-post_test
+post-build
+ If present and executable, this script is run after
+ dpkg-buildpackage(1) and before Lintian under test. The script
+ receives the path to the target build product on the command line
+ and can tweak the built package.
+
+post-test
If present, assumed to be a sed script that is run on the output
of Lintian before comparing it to the tags file. The most common
use for this script is to remove the architecture from tags
@@ -229,9 +242,9 @@ post_test
but it may be useful for other cases where the output of Lintian
may change on different systems.
-test_calibration
+test-calibration
If present and executable, this script is run after the Lintian
- output has been generated and after post_test (if present). The
+ output has been generated and after post-test (if present). The
script can be used to calibrate the expected output or actual
output.
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/d7f6de52807a2c7b0fe60dab87e7be374928ada4
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/d7f6de52807a2c7b0fe60dab87e7be374928ada4
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help