diff options
Diffstat (limited to '')
14 files changed, 80 insertions, 0 deletions
diff --git a/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/debian/control.in b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/debian/control.in new file mode 100644 index 0000000..d9609cd --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Testsuite: autopkgtest-another + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/fill-values new file mode 100644 index 0000000..3573717 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: foreign-testsuite +Description: Testsuite field with a foreign, non-team test suite +Author: Perl Team <pkg-perl-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/build-spec/pre-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +DIR="$1" + +rm -rf "$DIR/debian/tests" diff --git a/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/desc b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/desc new file mode 100644 index 0000000..3e86a28 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: foreign-testsuite +Check: team/pkg-perl/testsuite diff --git a/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/hints b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/hints new file mode 100644 index 0000000..b021bb5 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/foreign-testsuite/eval/hints @@ -0,0 +1 @@ +foreign-testsuite (source): team/pkg-perl/testsuite/no-team-tests diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/fill-values new file mode 100644 index 0000000..cda0f47 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: no-testsuite +Description: Missing Testsuite field +Author: Perl Team <pkg-perl-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/build-spec/pre-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +DIR="$1" + +rm -rf "$DIR/debian/tests" diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/desc b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/desc new file mode 100644 index 0000000..59be4a6 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: no-testsuite +Check: team/pkg-perl/testsuite diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/hints b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/hints new file mode 100644 index 0000000..3a7b720 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-testsuite/eval/hints @@ -0,0 +1 @@ +no-testsuite (source): team/pkg-perl/testsuite/no-testsuite-header diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/debian/control.in b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/debian/control.in new file mode 100644 index 0000000..8d1894d --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Testsuite: autopkgtest-pkg-perl + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/fill-values b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/fill-values new file mode 100644 index 0000000..23d0aae --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: no-use-name +Description: Testsuite autopkgtest-pkg-perl but use-name not available +Author: Perl Team <pkg-perl-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/pre-build b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/build-spec/pre-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +DIR="$1" + +rm -rf "$DIR/debian/tests" diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/desc b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/desc new file mode 100644 index 0000000..3947a05 --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/desc @@ -0,0 +1,2 @@ +Testname: no-use-name +Check: team/pkg-perl/testsuite diff --git a/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/hints b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/hints new file mode 100644 index 0000000..3ca7aec --- /dev/null +++ b/t/recipes/checks/team/pkg-perl/testsuite/no-use-name/eval/hints @@ -0,0 +1 @@ +no-use-name (source): team/pkg-perl/testsuite/autopkgtest-needs-use-name |