summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings')
-rwxr-xr-xt/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules12
-rw-r--r--t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc2
-rw-r--r--t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints6
4 files changed, 23 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules
new file mode 100755
index 0000000..fbbdc99
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_builddeb:
+ dh_builddeb -- -Zxz -z 9
+ dh_builddeb -- -z9 -Z xz
+ dh_builddeb -- -z8 -Z xz
+ dh_builddeb -- -z9 -Zgzip
+ dh_builddeb -- -Zxz -Sextreme -z9
+ dh_builddeb -- -Zxz -z9 -Sextreme
diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values
new file mode 100644
index 0000000..683fab9
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: rules-should-not-use-custom-compression-settings
+Description: Test for over-eager tarball compression etc.
diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc
new file mode 100644
index 0000000..8f09d8f
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/desc
@@ -0,0 +1,2 @@
+Testname: rules-should-not-use-custom-compression-settings
+Check: debian/rules
diff --git a/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints
new file mode 100644
index 0000000..09e88f1
--- /dev/null
+++ b/t/recipes/checks/debian/rules/rules-should-not-use-custom-compression-settings/eval/hints
@@ -0,0 +1,6 @@
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z9 -Zgzip [debian/rules:10]
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z9 -Z xz [debian/rules:8]
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -z8 -Z xz [debian/rules:9]
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -z9 -Sextreme [debian/rules:12]
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -Sextreme -z9 [debian/rules:11]
+rules-should-not-use-custom-compression-settings (source): custom-compression-in-debian-rules dh_builddeb -- -Zxz -z 9 [debian/rules:7]