Re: Test failures
Frank Lichtenheld wrote:
> Hi.
>
> I noticed that some tests in the test suite currently fail and I'm
> pretty sure that it has nothing to do with what I'm working on currently.
>
> But maybe someone else has a quick idea what is going wrong before I
> invest my time finding it out?
>
> Running test scripts-diversions 1.0... building... testing... FAILED:
> --- t/tests/scripts-diversions/tags 2009-03-15 23:59:59.000000000 +0100
> +++ debian/tests/tags.scripts-diversions 2009-03-28 16:42:09.000000000
> +0100 @@ -2,4 +2,3 @@
> E: scripts-diversions: orphaned-diversion usr/share/scripts/orphan
> preinst E: scripts-diversions: package-uses-local-diversion preinst:12
> E: scripts-diversions: package-uses-local-diversion preinst:16
> -E: scripts-diversions: remove-of-unknown-diversion
> usr/share/scripts/old-file postrm:12 Running test binaries-from-other-arch
> 1.0... building... testing... FAILED:
No idea, but you are not alone:
$ debian/rules runtests onlyrun=scripts-diversions
[...]
Running test scripts-diversions 1.0... building... testing... FAILED:
--- t/tests/scripts-diversions/tags 2009-03-25 11:21:43.000000000 -0600
+++ debian/tests/tags.scripts-diversions 2009-03-28
11:45:03.000000000 -0600
@@ -2,4 +2,3 @@
E: scripts-diversions: orphaned-diversion usr/share/scripts/orphan preinst
E: scripts-diversions: package-uses-local-diversion preinst:12
E: scripts-diversions: package-uses-local-diversion preinst:16
-E: scripts-diversions: remove-of-unknown-diversion
usr/share/scripts/old-file postrm:12
make: *** [runtests] Error 1
> --- t/tests/binaries-from-other-arch/tags 2009-03-15 23:59:59.000000000
> +0100
> +++ debian/tests/tags.binaries-from-other-arch 2009-03-28
> 16:42:57.000000000 +0100 @@ -1,4 +1,4 @@
> E: binaries-from-other-arch: binary-from-other-architecture
> ./usr/bin/elfobject E: binaries-from-other-arch: statically-linked-binary
> ./usr/bin/elfobject
> -W: binaries-from-other-arch: apparently-truncated-elf-binary
> ./usr/bin/elfobject +W: binaries-from-other-arch:
> apparently-corrupted-elf-binary ./usr/bin/elfobject
> W: binaries-from-other-arch: binary-without-manpage usr/bin/elfobject
This one is tricky; you need squeeze's binutils for it to pass.
> Running test files-windows-devel-file-in-package 1.0... building...
> testing... FAILED:
> --- t/tests/files-windows-devel-file-in-package/tags 2008-11-28
> 12:06:02.000000000 +0100
> +++ debian/tests/tags.files-windows-devel-file-in-package 2009-03-28
> 16:48:28.000000000 +0100 @@ -1 +1,2 @@
> +I: files-windows-devel-file-in-package source:
> debian-watch-file-is-missing
> W: files-windows-devel-file-in-package: windows-devel-file-in-package
> usr/lib/foo/foo.vcproj
> Running test scripts-ocamlrun 1.0... building... testing... FAILED:
> --- t/tests/scripts-ocamlrun/tags 2008-11-28 12:06:02.000000000 +0100
> +++ debian/tests/tags.scripts-ocamlrun 2009-03-28 16:50:22.000000000 +0100
> @@ -1 +1,2 @@
> +I: scripts-ocamlrun source: debian-watch-file-is-missing
> W: scripts-ocamlrun: binary-without-manpage usr/bin/script1
>
The watch files should be being created by runtests, so it is a bit odd. The
only recent change there that I remember was the switch from the time-stamp
and size -based files copying of rsync to the checksum-based one.
$ debian/rules runtests onlyrun=files-windows-devel-file-in-package
[...]
Running test files-windows-devel-file-in-package 1.0... building...
testing... ok.
if [ "files-windows-devel-file-in-package" = "" ]; then touch runtests; fi
Cheers,
--
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
Reply to: