The following commit has been merged in the master branch:
commit 2c874df5c2c3e8a3778cd8502307211c8a046670
Author: Niels Thykier <[email protected]>
Date:   Fri Sep 2 19:07:07 2011 +0200

    Make the new tag to experimental and reduce to minor/possible
    
    Also addressed Jakub Wilk's comments about the lack of "set -e"
    in the tests.

diff --git a/checks/files.desc b/checks/files.desc
index 7d6af20..4144d12 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1277,8 +1277,9 @@ Info: The package ships a library in one of the multiarch 
lib directories,
  found by the dynamic linker at every point during an upgrade.
 
 Tag: package-contains-no-arch-dependent-files
-Severity: important
-Certainty: certain
+Severity: minor
+Certainty: possible
+Experimental: yes
 Info: The package is not marked architecture all, but all the files it
  ships are installed in /usr/share.
  .
diff --git a/t/tests/control-file-library-dev/debian/debian/rules 
b/t/tests/control-file-library-dev/debian/debian/rules
index 97ecc1f..6dd864a 100644
--- a/t/tests/control-file-library-dev/debian/debian/rules
+++ b/t/tests/control-file-library-dev/debian/debian/rules
@@ -4,6 +4,6 @@
        dh $@
 
 override_dh_auto_install:
-       for P in $$(dh_listpackages) ; do \
+       set -e ; for P in $$(dh_listpackages -a) ; do \
                dh_install -p$$P some-file usr/lib/$$P ; \
        done
diff --git a/t/tests/fields-wrong-section/debian/debian/rules 
b/t/tests/fields-wrong-section/debian/debian/rules
index 97ecc1f..6dd864a 100644
--- a/t/tests/fields-wrong-section/debian/debian/rules
+++ b/t/tests/fields-wrong-section/debian/debian/rules
@@ -4,6 +4,6 @@
        dh $@
 
 override_dh_auto_install:
-       for P in $$(dh_listpackages) ; do \
+       set -e ; for P in $$(dh_listpackages -a) ; do \
                dh_install -p$$P some-file usr/lib/$$P ; \
        done
diff --git a/t/tests/files-arch-indep-not-marked-all/tags 
b/t/tests/files-arch-indep-not-marked-all/tags
index 95d8a23..4d8ed8a 100644
--- a/t/tests/files-arch-indep-not-marked-all/tags
+++ b/t/tests/files-arch-indep-not-marked-all/tags
@@ -1 +1 @@
-E: files-arch-indep-not-marked-all: package-contains-no-arch-dependent-files
+X: files-arch-indep-not-marked-all: package-contains-no-arch-dependent-files
diff --git a/t/tests/generic-dh-make-2005/tags 
b/t/tests/generic-dh-make-2005/tags
index 2133c7d..6e4623b 100644
--- a/t/tests/generic-dh-make-2005/tags
+++ b/t/tests/generic-dh-make-2005/tags
@@ -2,7 +2,6 @@ E: generic-dh-make-2005: description-is-dh_make-template
 E: generic-dh-make-2005: helper-templates-in-copyright
 E: generic-dh-make-2005: helper-templates-in-copyright
 E: generic-dh-make-2005: helper-templates-in-copyright
-E: generic-dh-make-2005: package-contains-no-arch-dependent-files
 E: generic-dh-make-2005: section-is-dh_make-template
 I: generic-dh-make-2005 source: debian-watch-file-is-missing
 I: generic-dh-make-2005: extended-description-is-probably-too-short
@@ -17,3 +16,4 @@ W: generic-dh-make-2005: copyright-without-copyright-notice
 W: generic-dh-make-2005: new-package-should-close-itp-bug
 W: generic-dh-make-2005: readme-debian-contains-debmake-template
 W: generic-dh-make-2005: wrong-bug-number-in-closes l3:#nnnn
+X: generic-dh-make-2005: package-contains-no-arch-dependent-files
diff --git a/t/tests/version-substvars-general/debian/debian/rules 
b/t/tests/version-substvars-general/debian/debian/rules
index 74e7c58..6dd864a 100644
--- a/t/tests/version-substvars-general/debian/debian/rules
+++ b/t/tests/version-substvars-general/debian/debian/rules
@@ -4,6 +4,6 @@
        dh $@
 
 override_dh_auto_install:
-       for P in $$(dh_listpackages -a) ; do \
+       set -e ; for P in $$(dh_listpackages -a) ; do \
                dh_install -p$$P some-file usr/lib/$$P ; \
        done
diff --git a/testset/tags.debconf b/testset/tags.debconf
index 5c4716f..b0bb806 100644
--- a/testset/tags.debconf
+++ b/testset/tags.debconf
@@ -1,18 +1,14 @@
 E: debconf source: declares-possibly-conflicting-debhelper-compat-versions 
rules=4 compat=4
 E: debconf-test-noscripts: copyright-contains-dh_make-todo-boilerplate
 E: debconf-test-noscripts: no-debconf-config
-E: debconf-test-noscripts: package-contains-no-arch-dependent-files
 E: debconf-test-postinst: copyright-contains-dh_make-todo-boilerplate
 E: debconf-test-postinst: no-debconf-config
-E: debconf-test-postinst: package-contains-no-arch-dependent-files
 E: debconf-test-preinst: copyright-contains-dh_make-todo-boilerplate
-E: debconf-test-preinst: package-contains-no-arch-dependent-files
 E: debconf-test: copyright-contains-dh_make-todo-boilerplate
 E: debconf-test: extended-description-is-empty
 E: debconf-test: mismatch-translated-choices debconf/testmulti-escape 
choices-de.utf-8
 E: debconf-test: no-template-description debconf/no-description
 E: debconf-test: no-template-type debconf/language
-E: debconf-test: package-contains-no-arch-dependent-files
 E: debconf-test: unknown-debconf-priority config:10 LOW
 E: debconf-test: unknown-debconf-priority config:11 normal
 E: debconf-udeb udeb: udeb-postinst-must-not-call-ldconfig
@@ -76,3 +72,7 @@ W: debconf-test: using-imperative-form-in-templates 
debconf/1st-person
 W: debconf-test: using-imperative-form-in-templates debconf/should-be-boolean
 W: debconf-test: using-question-in-extended-description-in-templates 
debconf/testboolean
 W: debconf-udeb udeb: missing-debconf-dependency
+X: debconf-test-noscripts: package-contains-no-arch-dependent-files
+X: debconf-test-postinst: package-contains-no-arch-dependent-files
+X: debconf-test-preinst: package-contains-no-arch-dependent-files
+X: debconf-test: package-contains-no-arch-dependent-files
diff --git a/testset/tags.debug b/testset/tags.debug
index 76e22de..1171a16 100644
--- a/testset/tags.debug
+++ b/testset/tags.debug
@@ -1,11 +1,9 @@
 E: debug source: build-depends-indep-without-arch-indep
 E: debug source: version-substvar-for-external-package libhello0-dbg -> 
libhello
 E: hello-dbg: changelog-file-missing-in-native-package
-E: hello-hello-dbg: package-contains-no-arch-dependent-files
 E: hello: pkg-has-symbols-control-file-but-no-shared-libs
 E: hello: statically-linked-binary usr/bin/hello.dbg
 E: hello: unstripped-binary-or-object usr/bin/hello.dbg
-E: hi-dbg: package-contains-no-arch-dependent-files
 E: libhello0-dbg: binary-with-bad-dynamic-table usr/lib/libhello.so.dbg
 E: libhello0-dbg: missing-dependency-on-libc needed by 
usr/lib/debug/lib/libhello.so.0.0 and 1 others
 E: libhello0-dbg: sharedobject-in-library-directory-missing-soname 
usr/lib/libhello.so.dbg
@@ -49,3 +47,5 @@ W: libhello0: symbols-declares-dependency-on-other-package 
libhello2 (>= 1:2.3)
 W: libhello0: symbols-declares-dependency-on-other-package libhelloc0c2 (<< 
1.3)
 W: libhello0: symbols-declares-dependency-on-other-package libhelloc0c3
 W: libhello0: unused-shlib-entry-in-symbols-control-file libhello 2
+X: hello-hello-dbg: package-contains-no-arch-dependent-files
+X: hi-dbg: package-contains-no-arch-dependent-files

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to