Felix Lechner pushed to branch master at lintian / lintian


Commits:
6719486d by Felix Lechner at 2019-08-20T18:16:13Z
Move dated testing README into base directory for test specifications.

This document is in dire need of updating. Perhaps it was a good thing
that it was difficult to find until now.

Moves the README into a better, more prominent location.

Gbp-Dch: ignore

- - - - -
d38566bf by Felix Lechner at 2019-08-20T18:16:13Z
Move tests related to Lintian features into their own folder.

The tests exercise a variety of command line options of Lintian. Some
are invoked directly, such as suppress-tags; some for the output
format go through the test runner.

Gbp-Dch: ignore

- - - - -
21094b5c by Felix Lechner at 2019-08-20T18:16:13Z
Move tests related to runner features into their own folder.

These tests exercise live features of the test runner in operation
that cannot be tested in the 'scripts' collection.

Gbp-Dch: ignore

- - - - -
69cbda63 by Felix Lechner at 2019-08-20T18:16:13Z
Move tests related to odd inputs to their own folder.

These tests exercise how the collections methods react to odd inputs.
They are false positives.

Gbp-Dch: ignore

- - - - -
70b6474b by Felix Lechner at 2019-08-20T18:16:13Z
Turn test python-script-uses-unversioned-python-in-shebang into a false 
positive for check python.

When the test suite was first sorted into checks, some general false
positives were not sorted. Those tests produce no output, and their
value is somewhat limited. More important, their value depends on what
the author said about them. A general false positive is worth much
less than a false positive specific to a particular tag.

When this test was first examined, it was thought to be quite general.
Upon review it appears useful as a false positive specific to the
check python. Adapts the test and places it there.

Changes the match strategy to 'tags' and converts the literal output
into the universal tag format. The test shows two classification tags.

The test was associated with the check 'python'.

Gbp-Dch: ignore

- - - - -
3fafc8a3 by Felix Lechner at 2019-08-20T18:16:13Z
For two generic tests, provide previous changelog versions to keep literal 
output blank.

By adding two previous changelog versions (and overriding those
offered by the test runner) we avoid the generation of any tags. It
makes these tests more useful. They are false positives.

Gbp-Dch: ignore

- - - - -
500d00f0 by Felix Lechner at 2019-08-20T18:16:13Z
Rename legacy folder 'tests' to more descriptive 
'general-false-positives'.

This folder has had an unfortunate name for some time. The test suite
always contained tests outside it. The name was never descriptive.

By now, all tests that could have been placed elsewhere. All that is
left are several tests that are general false positives on blank
input. They exercise the templates.

Renames the folder to 'general-false-positives'.

Gbp-Dch: ignore

- - - - -
ae3271f5 by Felix Lechner at 2019-08-20T18:16:13Z
For tracking tests, rename the containing folder to 'tracking'.

Two tests in the test suite are false positives based on generic
make_dh templates from two different years. They serve as monuments to
ensure old templates do not cause offense unexpectedly in future
versions of Lintian. Both tests are rarely modified. The name of the
folder they are in could be clearer.

Renames the containing folder from 'track' to 'tracking'.

Gbp-Dch: ignore

- - - - -


30 changed files:

- t/tags/tests/README → t/tags/README
- 
t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/control.in 
→ 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/control.in
- t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/install 
→ 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/install
- t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/rules → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/rules
- 
t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/script-bad1
 → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/script-bad1
- 
t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/script-bad2
 → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/script-bad2
- 
t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/script-good1
 → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/script-good1
- 
t/tags/tests/python-script-uses-unversioned-python-in-shebang/debian/script-good2
 → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/debian/script-good2
- t/tags/tests/python-script-uses-unversioned-python-in-shebang/desc → 
t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/desc
- + t/tags/checks/python/python-script-uses-unversioned-python-in-shebang/tags
- t/tags/tests/basic-3.0-native/desc → 
t/tags/general-false-positives/basic-3.0-native/desc
- t/tags/tests/basic-3.0-native/literal → 
t/tags/general-false-positives/basic-3.0-native/literal
- t/tags/tests/basic-non-native-with-epoch/desc → 
t/tags/general-false-positives/basic-non-native-with-epoch/desc
- t/tags/tests/basic-non-native/literal → 
t/tags/general-false-positives/basic-non-native-with-epoch/literal
- t/tags/tests/basic-non-native/desc → 
t/tags/general-false-positives/basic-non-native/desc
- t/tags/tests/basic-quilt-updeb/literal → 
t/tags/general-false-positives/basic-non-native/literal
- t/tags/tests/basic-quilt-updeb/debian/patches/extra-readme → 
t/tags/general-false-positives/basic-quilt-updeb/debian/patches/extra-readme
- t/tags/tests/basic-quilt-updeb/debian/patches/series → 
t/tags/general-false-positives/basic-quilt-updeb/debian/patches/series
- t/tags/tests/basic-quilt-updeb/desc → 
t/tags/general-false-positives/basic-quilt-updeb/desc
- t/tags/tests/basic-quilt-updeb/diff/README → 
t/tags/general-false-positives/basic-quilt-updeb/diff/README
- t/tags/tests/basic-quilt/literal → 
t/tags/general-false-positives/basic-quilt-updeb/literal
- t/tags/tests/basic-quilt-updeb/orig/README → 
t/tags/general-false-positives/basic-quilt-updeb/orig/README
- t/tags/tests/basic-quilt-updeb/orig/debian/basic-quilt-updeb.doc-base.EX → 
t/tags/general-false-positives/basic-quilt-updeb/orig/debian/basic-quilt-updeb.doc-base.EX
- t/tags/tests/basic-quilt-updeb/orig/debian/postinst.ex → 
t/tags/general-false-positives/basic-quilt-updeb/orig/debian/postinst.ex
- t/tags/tests/basic-quilt/debian/patches/extra-readme → 
t/tags/general-false-positives/basic-quilt/debian/patches/extra-readme
- t/tags/tests/basic-quilt/debian/patches/series → 
t/tags/general-false-positives/basic-quilt/debian/patches/series
- t/tags/tests/basic-quilt/desc → 
t/tags/general-false-positives/basic-quilt/desc
- t/tags/tests/basic/literal → 
t/tags/general-false-positives/basic-quilt/literal
- t/tags/tests/basic-quilt/orig/README → 
t/tags/general-false-positives/basic-quilt/orig/README
- t/tags/tests/basic-with-epoch/desc → 
t/tags/general-false-positives/basic-with-epoch/desc


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/lintian/lintian/compare/fda507324feafd6e197adda33cb1a0ebbc17f8b4...ae3271f5aad0933fac31f554c899e84cc201bfa1

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


Reply via email to