summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes
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/checks/debian/rules/rules-missing-targets-with-known-includes
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.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/checks/debian/rules/rules-missing-targets-with-known-includes')
-rwxr-xr-xt/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules8
-rw-r--r--t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc2
-rw-r--r--t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints4
4 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules
new file mode 100755
index 0000000..e92755b
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+# This should trigger a missing $type targets, since
+# we know the makefile does not implement them.
+include /usr/share/javahelper/java-vars.mk
+
+clean build binary:
+ dh $@
diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values
new file mode 100644
index 0000000..36d2a17
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: rules-missing-targets-with-known-includes
+Description: Test for debian/rules with known included file
+Extra-Build-Depends: javahelper
diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc
new file mode 100644
index 0000000..34b9af5
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/desc
@@ -0,0 +1,2 @@
+Testname: rules-missing-targets-with-known-includes
+Check: debian/rules
diff --git a/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints
new file mode 100644
index 0000000..a8a5c95
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-missing-targets-with-known-includes/eval/hints
@@ -0,0 +1,4 @@
+rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target build-indep [debian/rules]
+rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target build-arch [debian/rules]
+rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target binary-indep [debian/rules]
+rules-missing-targets-with-known-includes (source): debian-rules-missing-required-target binary-arch [debian/rules]