diff options
Diffstat (limited to 't/recipes/runner-features')
24 files changed, 74 insertions, 0 deletions
diff --git a/t/recipes/runner-features/runtests-arch-amd64/build-spec/debian/install b/t/recipes/runner-features/runtests-arch-amd64/build-spec/debian/install new file mode 100644 index 0000000..08f8dfa --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-amd64/build-spec/debian/install @@ -0,0 +1 @@ +dummy usr/lib/package/ diff --git a/t/recipes/runner-features/runtests-arch-amd64/build-spec/fill-values b/t/recipes/runner-features/runtests-arch-amd64/build-spec/fill-values new file mode 100644 index 0000000..ddce4fb --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-amd64/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: runtests-arch-amd64 +Description: Test a package that is supposedly amd64-specific diff --git a/t/recipes/runner-features/runtests-arch-amd64/build-spec/orig/dummy b/t/recipes/runner-features/runtests-arch-amd64/build-spec/orig/dummy new file mode 100644 index 0000000..5c3118d --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-amd64/build-spec/orig/dummy @@ -0,0 +1 @@ +dummy file diff --git a/t/recipes/runner-features/runtests-arch-amd64/eval/desc b/t/recipes/runner-features/runtests-arch-amd64/eval/desc new file mode 100644 index 0000000..184a76a --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-amd64/eval/desc @@ -0,0 +1,5 @@ +Testname: runtests-arch-amd64 +Test-Architectures: amd64 +Match-Strategy: literal +Output-Format: EWI +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/runner-features/runtests-arch-amd64/eval/literal b/t/recipes/runner-features/runtests-arch-amd64/eval/literal new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-amd64/eval/literal diff --git a/t/recipes/runner-features/runtests-arch-i386/build-spec/debian/install b/t/recipes/runner-features/runtests-arch-i386/build-spec/debian/install new file mode 100644 index 0000000..08f8dfa --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-i386/build-spec/debian/install @@ -0,0 +1 @@ +dummy usr/lib/package/ diff --git a/t/recipes/runner-features/runtests-arch-i386/build-spec/fill-values b/t/recipes/runner-features/runtests-arch-i386/build-spec/fill-values new file mode 100644 index 0000000..88947ba --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-i386/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: runtests-arch-i386 +Description: Test a package that is supposedly i386-specific diff --git a/t/recipes/runner-features/runtests-arch-i386/build-spec/orig/dummy b/t/recipes/runner-features/runtests-arch-i386/build-spec/orig/dummy new file mode 100644 index 0000000..5c3118d --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-i386/build-spec/orig/dummy @@ -0,0 +1 @@ +dummy file diff --git a/t/recipes/runner-features/runtests-arch-i386/eval/desc b/t/recipes/runner-features/runtests-arch-i386/eval/desc new file mode 100644 index 0000000..0238ccd --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-i386/eval/desc @@ -0,0 +1,5 @@ +Testname: runtests-arch-i386 +Test-Architectures: i386 +Match-Strategy: literal +Output-Format: EWI +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/runner-features/runtests-arch-i386/eval/literal b/t/recipes/runner-features/runtests-arch-i386/eval/literal new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/runner-features/runtests-arch-i386/eval/literal diff --git a/t/recipes/runner-features/runtests-calibration/build-spec/fill-values b/t/recipes/runner-features/runtests-calibration/build-spec/fill-values new file mode 100644 index 0000000..49205b5 --- /dev/null +++ b/t/recipes/runner-features/runtests-calibration/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: runtests-calibration +Description: Test calibration support diff --git a/t/recipes/runner-features/runtests-calibration/eval/desc b/t/recipes/runner-features/runtests-calibration/eval/desc new file mode 100644 index 0000000..ce98d1b --- /dev/null +++ b/t/recipes/runner-features/runtests-calibration/eval/desc @@ -0,0 +1,2 @@ +Testname: runtests-calibration +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/runner-features/runtests-calibration/eval/hints b/t/recipes/runner-features/runtests-calibration/eval/hints new file mode 100644 index 0000000..1736a4d --- /dev/null +++ b/t/recipes/runner-features/runtests-calibration/eval/hints @@ -0,0 +1 @@ +runtests-calibration (source): lintian-says-hi ;) diff --git a/t/recipes/runner-features/runtests-calibration/eval/test-calibration b/t/recipes/runner-features/runtests-calibration/eval/test-calibration new file mode 100755 index 0000000..7904286 --- /dev/null +++ b/t/recipes/runner-features/runtests-calibration/eval/test-calibration @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +# a previous version appended here but it breaks repeat runs +echo "runtests-calibration (source): lintian-says-goodbye" > "$2" +echo "runtests-calibration (source): lintian-says-goodbye" > "$3" diff --git a/t/recipes/runner-features/runtests-options/build-spec/debian/compat.in b/t/recipes/runner-features/runtests-options/build-spec/debian/compat.in new file mode 100644 index 0000000..640a566 --- /dev/null +++ b/t/recipes/runner-features/runtests-options/build-spec/debian/compat.in @@ -0,0 +1 @@ +[% $dh_compat_level %] diff --git a/t/recipes/runner-features/runtests-options/build-spec/debian/control.in b/t/recipes/runner-features/runtests-options/build-spec/debian/control.in new file mode 100644 index 0000000..83a82c8 --- /dev/null +++ b/t/recipes/runner-features/runtests-options/build-spec/debian/control.in @@ -0,0 +1,16 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: 1.2.3 +Build-Depends: debhelper (>= 7) +Rules-Requires-Root: no + +Package: [% $source %] +Essential: yes +Architecture: [% $package_architecture %] +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. diff --git a/t/recipes/runner-features/runtests-options/build-spec/fill-values b/t/recipes/runner-features/runtests-options/build-spec/fill-values new file mode 100644 index 0000000..1446d2d --- /dev/null +++ b/t/recipes/runner-features/runtests-options/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: runtests-options +Description: Test a bad package but use -C to only catch some tags diff --git a/t/recipes/runner-features/runtests-options/eval/desc b/t/recipes/runner-features/runtests-options/eval/desc new file mode 100644 index 0000000..a9661bf --- /dev/null +++ b/t/recipes/runner-features/runtests-options/eval/desc @@ -0,0 +1,5 @@ +Testname: runtests-options +Check: fields/standards-version +Match-Strategy: literal +Output-Format: EWI +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/runner-features/runtests-options/eval/literal b/t/recipes/runner-features/runtests-options/eval/literal new file mode 100644 index 0000000..3bc5df8 --- /dev/null +++ b/t/recipes/runner-features/runtests-options/eval/literal @@ -0,0 +1,5 @@ +E: runtests-options source: invalid-standards-version 1.2.3 +E: runtests-options: new-essential-package +W: runtests-options: empty-binary-package +W: runtests-options source: no-versioned-debhelper-prerequisite 13 +P: runtests-options source: uses-debhelper-compat-file [debian/compat] diff --git a/t/recipes/runner-features/runtests-todo/build-spec/debian/install b/t/recipes/runner-features/runtests-todo/build-spec/debian/install new file mode 100644 index 0000000..7707533 --- /dev/null +++ b/t/recipes/runner-features/runtests-todo/build-spec/debian/install @@ -0,0 +1 @@ +dummy usr/share/lintian/ diff --git a/t/recipes/runner-features/runtests-todo/build-spec/fill-values b/t/recipes/runner-features/runtests-todo/build-spec/fill-values new file mode 100644 index 0000000..6a4d7a2 --- /dev/null +++ b/t/recipes/runner-features/runtests-todo/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: runtests-todo +Description: Test todo tests support diff --git a/t/recipes/runner-features/runtests-todo/build-spec/orig/dummy b/t/recipes/runner-features/runtests-todo/build-spec/orig/dummy new file mode 100644 index 0000000..b60941c --- /dev/null +++ b/t/recipes/runner-features/runtests-todo/build-spec/orig/dummy @@ -0,0 +1 @@ +hello lintian! diff --git a/t/recipes/runner-features/runtests-todo/eval/desc b/t/recipes/runner-features/runtests-todo/eval/desc new file mode 100644 index 0000000..0d3a53f --- /dev/null +++ b/t/recipes/runner-features/runtests-todo/eval/desc @@ -0,0 +1,5 @@ +Testname: runtests-todo +Todo: This tests the Todo feature in the runner. +Match-Strategy: literal +Output-Format: EWI +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/runner-features/runtests-todo/eval/literal b/t/recipes/runner-features/runtests-todo/eval/literal new file mode 100644 index 0000000..5f3c9af --- /dev/null +++ b/t/recipes/runner-features/runtests-todo/eval/literal @@ -0,0 +1 @@ +E: runtests-todo source: lintian-says-hi ;) |