diff options
author | Russ Allbery <rra@cpan.org> | 2021-02-03 18:49:48 -0800 |
---|---|---|
committer | Russ Allbery <rra@cpan.org> | 2021-02-03 19:22:42 -0800 |
commit | e895435b4d0571b65c96997958d3aaa61f4fd05f (patch) | |
tree | ee2dc1dfa3eeb91c67a508356cb23d0f8cfeb611 | |
parent | abace2eebbd3346fe9428fa6c155dd6f982d7102 (diff) |
Fix autopkgtest configuration
* Configure for the autopkgtest-pkg-perl tests. (Closes: #981765)
- Disable doc and style tests, which don't test functionality and are
therefore outside the remit of autopkgtest, and which depend on bits
of the source tree.
- Include the package metadata that is used as input to some of the
tests when runing the smoke test.
-rw-r--r-- | debian/changelog | 11 | ||||
-rw-r--r-- | debian/tests/pkg-perl/smoke-files | 7 | ||||
-rw-r--r-- | debian/tests/pkg-perl/smoke-skip | 14 |
3 files changed, 32 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index b5c6ba0..4087111 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +docknot (4.00-2) UNRELEASED; urgency=medium + + * Configure the autopkgtest-pkg-perl tests. (Closes: #981765) + - Disable doc and style tests, which don't test functionality and are + therefore outside the remit of autopkgtest, and which depend on bits + of the source tree. + - Include the package metadata that is used as input to some of the + tests when running the smoke test. + + -- Russ Allbery <rra@debian.org> Wed, 03 Feb 2021 18:49:37 -0800 + docknot (4.00-1) unstable; urgency=medium * First upload to Debian. (Closes: #978083) diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files new file mode 100644 index 0000000..74dfc8f --- /dev/null +++ b/debian/tests/pkg-perl/smoke-files @@ -0,0 +1,7 @@ +# Some of the tests use the metadata and generated files for the DocKnot +# package itself. + +README +README.md +docs/docknot.yaml +t diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip new file mode 100644 index 0000000..5d6a082 --- /dev/null +++ b/debian/tests/pkg-perl/smoke-skip @@ -0,0 +1,14 @@ +# When running smoke tests, skip style and documentation tests. The goal +# is to test functionality, not run development tests. + +t/docs/pod-coverage.t +t/docs/pod-spelling.t +t/docs/pod.t +t/docs/spdx-license.t +t/docs/synopsis.t +t/style/coverage.t +t/style/critic.t +t/style/minimum-version.t +t/style/module-version.t +t/style/obsolete-strings.t +t/style/strict.t |