[Debian-med-packaging] Bug#757593: r-cran-batchjobs: Fail of tests in debci (autopkgtest)
Andreas Tille
andreas at an3as.eu
Sun Aug 10 05:36:14 UTC 2014
Hi Lucas,
thanks for doing thorough testing. The bioc - cran typo was fixed in
the package in unstable (1.3-1). Since I realised the fact that you
need root permission this was discussed with upstream and they fixed
this in version 1.3. I'll add the r-cran-mass dependency to the control
file.
Kind regards
Andreas.
On Sat, Aug 09, 2014 at 01:27:06PM -0300, Lucas Kanashiro wrote:
> Package: r-cran-batchjobs
> Version: 1.2
> Severity: normal
> Tags: patch
> User: autopkgtest-devel at lists.alioth.debian.org
> Usertags: autopkgtest
>
> Dear Maintainer,
>
> The tests are failing in debci using autopkgtest. Below the
> autopkgtest's log:
>
> adt-run [13:12:54]: test run-unit-test: [-----------------------
> cp: cannot stat ‘/usr/share/doc/r-bioc-batchjobs/tests/*’: No such file
> or directory
> adt-run [13:12:54]: test run-unit-test: -----------------------]
>
> One of the reasons this is happening is because the name of package in
> debian/tests/run-unit-test is wrong, the name of the package there is
> r-bioc-batchjobs instead of r-cran-batchjobs. After correct this, the
> tests keep failing. To finish the correction of this suit test I needed to
> add a new dependency called r-cran-mass and a new restriction to run
> the tests with root permission. With this corrections the suit test
> finished successfully, the patch is attached.
>
> Thanks for consider it!
>
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> diff -Nru r-cran-batchjobs-1.2.orig/debian/tests/control r-cran-batchjobs-1.2/debian/tests/control
> --- r-cran-batchjobs-1.2.orig/debian/tests/control 2014-08-06 23:02:33.106288481 -0300
> +++ r-cran-batchjobs-1.2/debian/tests/control 2014-08-06 23:05:18.816325512 -0300
> @@ -1,3 +1,3 @@
> Tests: run-unit-test
> -Depends: @, r-cran-testthat
> -Restrictions: allow-stderr
> +Depends: @, r-cran-testthat, r-cran-mass
> +Restrictions: allow-stderr needs-root
> diff -Nru r-cran-batchjobs-1.2.orig/debian/tests/run-unit-test r-cran-batchjobs-1.2/debian/tests/run-unit-test
> --- r-cran-batchjobs-1.2.orig/debian/tests/run-unit-test 2014-08-06 23:02:33.106288481 -0300
> +++ r-cran-batchjobs-1.2/debian/tests/run-unit-test 2014-08-06 23:03:27.934968735 -0300
> @@ -1,6 +1,6 @@
> #!/bin/sh -e
>
> -pkg=r-bioc-batchjobs
> +pkg=r-cran-batchjobs
> if [ "$ADTTMP" = "" ] ; then
> ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
> fi
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list