summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel')
-rw-r--r--t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in16
-rwxr-xr-xt/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules8
-rw-r--r--t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values5
-rw-r--r--t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc5
-rw-r--r--t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints4
6 files changed, 39 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in
new file mode 100644
index 0000000..a63b312
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/control.in
@@ -0,0 +1,16 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %], debhelper (>= 10)
+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-autoreconf-build-depends-unrel/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules
new file mode 100755
index 0000000..005519a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure
+ dh_autotools-dev_updateconfig
diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values
new file mode 100644
index 0000000..52a12c3
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: debhelper-autoreconf-build-depends-unrel
+Description: Test for useless autoreconf-related build dependencies false positives
+Default-Build-Depends: debhelper (>= 10)
+Dh-Compat-Level: 10
diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc
new file mode 100644
index 0000000..c87476b
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/desc
@@ -0,0 +1,5 @@
+Testname: debhelper-autoreconf-build-depends-unrel
+Test-Against:
+ missing-build-dependency-for-dh_-command
+ useless-autoreconf-build-depends
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints
new file mode 100644
index 0000000..9ab3ea3
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-autoreconf-build-depends-unrel/eval/hints
@@ -0,0 +1,4 @@
+debhelper-autoreconf-build-depends-unrel (source): package-uses-old-debhelper-compat-version 10
+debhelper-autoreconf-build-depends-unrel (source): debian-build-system dh [debian/rules]
+debhelper-autoreconf-build-depends-unrel (source): debhelper-tools-from-autotools-dev-are-deprecated dh_autotools-dev_updateconfig [debian/rules:8]
+debhelper-autoreconf-build-depends-unrel (source): debhelper-compat-level 10