diff options
Diffstat (limited to 't/recipes/checks/team/pkg-js/testsuite')
9 files changed, 47 insertions, 0 deletions
diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in new file mode 100644 index 0000000..d9609cd --- /dev/null +++ b/t/recipes/checks/team/pkg-js/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-js/testsuite/foreign-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/fill-values new file mode 100644 index 0000000..8818559 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/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: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/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-js/testsuite/foreign-testsuite/eval/desc b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc new file mode 100644 index 0000000..73d4abd --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: foreign-testsuite +Check: team/pkg-js/testsuite diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints new file mode 100644 index 0000000..e70001d --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints @@ -0,0 +1 @@ +foreign-testsuite (source): team/pkg-js/testsuite/no-team-tests diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values new file mode 100644 index 0000000..baf96a0 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: no-testsuite +Description: Missing Testsuite field +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/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-js/testsuite/no-testsuite/eval/desc b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc new file mode 100644 index 0000000..64cff82 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: no-testsuite +Check: team/pkg-js/testsuite diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints new file mode 100644 index 0000000..e9c9456 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints @@ -0,0 +1 @@ +no-testsuite (source): team/pkg-js/testsuite/no-testsuite-header |