diff options
Diffstat (limited to 't/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a')
4 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules new file mode 100755 index 0000000..6f702fe --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + /bin/true +endif diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values new file mode 100644 index 0000000..2e8d239 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-a +Description: Test for missing checks for DEB_BUILD_PROFILES (false-positive) diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc new file mode 100644 index 0000000..9443f92 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/desc @@ -0,0 +1,4 @@ +Testname: rules-dh-auto-test-does-not-check-deb-build-options-unrel-a +Test-Against: + override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS +Check: debian/rules diff --git a/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/recipes/checks/debian/rules/rules-dh-auto-test-does-not-check-deb-build-options-unrel-a/eval/hints |