Package: r-cran-batchjobs Version: 1.2 Severity: normal Tags: patch User: autopkgtest-de...@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