[Debian-med-packaging] Bug#735883: auto_test failing for python-csb

Andreas Tille andreas at an3as.eu
Tue Jan 21 08:07:17 UTC 2014


Hi Tomás,

On Sat, Jan 18, 2014 at 05:45:31PM +0100, Tomás Di Domenico wrote:
> Greegins, all.
> 
> A bug that I had marked as closed has been reopened (or rather,
> re-reported) [1]. It seems like when running the tests as specified in
> debian/rules/override_dh_auto_test,the test suite tries to write to a
> forbidden location. The issue is that upon our request, after having
> faced the same problem in a previous release, upstream has added a
> parameter to specify the write directory. I added this parameter to the
> auto_test command, and it works perfectly when I run git-buildpackage.
> It also succeeds when running the test command manually (just to
> confirm, I do get the reported error if I leave out the new parameter).

The issue is solved for *building* the package.
 
> I'm a bit at a loss here. I don't quite understand what could be causing
> the tests to try and write somewhere else than where the
> --generated-resources arguments is indicating.

The bug report (in CC - it always makes sense to keep the reporter and
readers of the bug report informed) is about autopkgtest which is some
test suite which runs on all packages that have set

   XS-Testsuite: autopkgtest

in d/control.  So I think to fix the bug you need to pass the very same
option you used in override_dh_auto_test in debian/tests/build as well
to fix the problem.

Hope this helps

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list