summaryrefslogtreecommitdiffstats
path: root/t/recipes/runner-features/runtests-options
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/runner-features/runtests-options
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/runner-features/runtests-options')
-rw-r--r--t/recipes/runner-features/runtests-options/build-spec/debian/compat.in1
-rw-r--r--t/recipes/runner-features/runtests-options/build-spec/debian/control.in16
-rw-r--r--t/recipes/runner-features/runtests-options/build-spec/fill-values3
-rw-r--r--t/recipes/runner-features/runtests-options/eval/desc5
-rw-r--r--t/recipes/runner-features/runtests-options/eval/literal5
5 files changed, 30 insertions, 0 deletions
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]