Felix Lechner pushed to branch master at lintian / lintian


Commits:
15690c3f by Felix Lechner at 2019-11-02T12:11:35Z
In tests, set default to --pedantic.

This switches the default invocation of Lintian in the test suite to
'--pedantic'. Many new tags will appear, but only in related checks.

This commit was motivated by 4d88fce1. The test suite should not need
to be recalibrated because a tag's severity level changed. The whole
purpose of the 'universal' tag format was to remove this information.
This commit completes that train of thought.

Logically, this change also follows commit 0af8a3d8. In it, the test
suite ran just specified checks. It stopped many nuisance tags, such
as debian-watch-does-not-check-gpg-signature, from appearing
throughout the test suite. Now that tag appears only in tests related
to the check debian/watch.

The tests now focus on whether a condition was detected properly. It
is the essence of good check writing.

Some test specifications individually require the pedantic setting.
Those individual settings will be removed once it is clear that the
test suite performs as intended with this change.

Some tags relate to these default settings. They should be modified so
that the pedantic tags, like regular ones, appear less frequently and
ideally only when provoked by a particular test case.

Gbp-Dch: ignore

- - - - -
93c391d6 by Felix Lechner at 2019-11-02T12:13:29Z
In t/scripts/harness/logged-prepare.t, expect --pedantic in tests.

This test is a misnomer. It primarily tests the default settings. They
changed, and that is reflected here.

Gbp-Dch: ignore

- - - - -
c057bb76 by Felix Lechner at 2019-11-02T12:13:38Z
In tests, add the newly appearing pedantic tags to the list of expected tags.

The default for the test suite changed to --pedantic. Here are the
tags that appeared.

This commit was motivated by 4d88fce1. The test suite should not need
to be recalibrated because a tag's severity level changed. The whole
purpose of the 'universal' tag format was to remove this information.
This commit completes that train of thought.

Logically, this change also follows commit 0af8a3d8. In it, the test
suite ran just specified checks. It stopped many nuisance tags, such
as debian-watch-does-not-check-gpg-signature, from appearing
throughout the test suite. Now that tag appears only in tests related
to the check debian/watch.

The tests now focus on whether a condition was detected properly. It
is the essence of good check writing.

Some tags relate to default settings. Those should be modified so that
pedantic tags, like regular ones, appear less frequently and ideally
only when provoked by a particular test case.

Some test specifications individually require the pedantic setting.
Those individual settings will be removed once it is clear that the
test suite performs as intended with this change.

- - - - -


30 changed files:

- t/defaults/desc
- t/scripts/harness/logged-prepare.t
- t/tags/checks/cruft/cruft-crlf-eols/tags
- t/tags/checks/cruft/cruft-source-is-missing-unrel/tags
- t/tags/checks/cruft/legacy-filenames/tags
- t/tags/checks/debhelper/compat-level-not-a-number/tags
- t/tags/checks/debhelper/debhelper-autoreconf-build-depends-unrel/tags
- t/tags/checks/debhelper/debhelper-autoreconf-build-depends/tags
- t/tags/checks/debhelper/debhelper-brace-expansion/tags
- t/tags/checks/debhelper/debhelper-compat-multiple-unrel/tags
- t/tags/checks/debhelper/debhelper-compat-multiple/tags
- t/tags/checks/debhelper/debhelper-compat-virtual-relation-both/tags
- t/tags/checks/debhelper/debhelper-compat-virtual-relation/tags
- t/tags/checks/debhelper/debhelper-compat-whitespace/tags
- t/tags/checks/debhelper/debhelper-dh-clean-k-deprecated/tags
- t/tags/checks/debhelper/debhelper-dh-compat/tags
- t/tags/checks/debhelper/debhelper-dh-exec/tags
- t/tags/checks/debhelper/debhelper-dh-python-helpers/tags
- 
t/tags/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format-unrel/tags
- t/tags/checks/debhelper/debhelper-dh-quilt-addon-but-quilt-source-format/tags
- t/tags/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/tags
- t/tags/checks/debhelper/debhelper-dh-unnecessary-arguments/tags
- t/tags/checks/debhelper/debhelper-dh-with-python3-unrel/tags
- t/tags/checks/debhelper/debhelper-dh-with-python3-unrel2/tags
- t/tags/checks/debhelper/debhelper-dh-with-python3/tags
- t/tags/checks/debhelper/debhelper-dh-with-quilt/tags
- t/tags/checks/debhelper/debhelper-excessive-overrides/tags
- t/tags/checks/debhelper/debhelper-executable-files-compat-9/tags
- t/tags/checks/debhelper/debhelper-internal-files/tags
- t/tags/checks/debhelper/debhelper-misc-depends-fp/tags


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/9a65e81f5d853e605af7b86c93e9737d76b8ca14...c057bb76e7fae5e31a1bb847096a26692cebd55f

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/9a65e81f5d853e605af7b86c93e9737d76b8ca14...c057bb76e7fae5e31a1bb847096a26692cebd55f
You're receiving this email because of your account on salsa.debian.org.


Reply via email to