summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-arch-depends
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-arch-depends')
-rw-r--r--t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in17
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules8
-rw-r--r--t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values5
-rw-r--r--t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc3
-rw-r--r--t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints3
6 files changed, 37 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in
new file mode 100644
index 0000000..cbf204c
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/control.in
@@ -0,0 +1,17 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %],
+ cli-common-dev (>= 0.5.7) [i386 sparc amd64 ia64]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+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. It may
+ be an empty package.
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules
new file mode 100755
index 0000000..726a39c
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_prep:
+ -dh_clideps
+ dh_prep
+
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values
new file mode 100644
index 0000000..30c1a35
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: debhelper-arch-depends
+Extra-Build-Depends: cli-common-dev (>= 0.5.7) [i386 sparc amd64 ia64]
+Description: Test arch-specific dependencies on dh commands
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc
new file mode 100644
index 0000000..3a203cb
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/desc
@@ -0,0 +1,3 @@
+Testname: debhelper-arch-depends
+Test-Against: missing-build-dependency-for-dh_-command
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints
new file mode 100644
index 0000000..0553144
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-arch-depends/eval/hints
@@ -0,0 +1,3 @@
+debhelper-arch-depends (source): uses-debhelper-compat-file [debian/compat]
+debhelper-arch-depends (source): debian-build-system dh [debian/rules]
+debhelper-arch-depends (source): debhelper-compat-level 13