[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1013331: lintian: Tag hints inside Lintian's own test suite should support wild cards to allow running it on non-amd64 hosts



Just another thought on this topic:

Axel Beckert wrote:
> https://ci.debian.net/data/autopkgtest/unstable/arm64/l/lintian/22908861/log.gz
[…]
> But simply replacing all occurrences of "x86_64" with "*" does not
> work. It though would be a start if it would work.

While having wildcards would be nice, there's probably an easier
because already implemented way:

Test description files ("desc") know about a field "Test-Architecure":

~/lintian/lintian → find t/recipes/checks -name desc | xargs fgrep amd64
t/recipes/checks/fields/multi-arch/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc:Test-Architectures: amd64
t/recipes/checks/debian/lintian-overrides/mystery/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc:Test-Architectures: amd64
t/recipes/checks/debian/lintian-overrides/restricted/amd64-on-arch-all/eval/desc:Testname: amd64-on-arch-all
t/recipes/checks/debian/lintian-overrides/restricted/fields-multi-arch-same-package-has-arch-specific-overrides/eval/desc:Test-Architectures: amd64
t/recipes/checks/debian/shlibs/binaries-multiarch/eval/desc:Test-Architectures: i386 amd64
t/recipes/checks/files/architecture/binaries-multiarch/eval/desc:Test-Architectures: i386 amd64
t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/eval/desc:Test-Architectures: i386 amd64
t/recipes/checks/binaries/corrupted/binaries-from-other-arch/eval/desc:Test-Architectures: amd64 i386
t/recipes/checks/binaries/static/binaries-from-other-arch/eval/desc:Test-Architectures: amd64 i386
t/recipes/checks/binaries/architecture/other/binaries-from-other-arch/eval/desc:Test-Architectures: amd64 i386
t/recipes/checks/binaries/hardening/binaries-hardening/eval/desc:Test-Architectures: amd64 i386 armhf arm64

So we hopefully just need to add the currently on non-amd64 failing
tests to sport a "Test-Architectures: amd64" in their desc file.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: