Andreas, You have to install debci via apt and execute setup command of debci, where debci will set up a schroot environment (follow the README). After the schroot was created, I downloaded the source of r-cran-learnbayes (via "apt-get source") and I executed this command into the same directory:
adt-run --user debci r-cran-learnbayes-2.15/ --- schroot debci-unstable-amd64 The result of this command is the failure of test suite. Try to follow this steps to reproduce the bug. Regards, On Tue, 23 Sep 2014 10:03:00 +0200 Andreas Tille <[email protected]> wrote: > Hi Lucas, > > I just tried to do this right now installed debci went to its README and > tried > > $ adt-run --user debci --output-dir /tmp/output-dir > r-cran-learnbayes_2.15-2_amd64.changes schroot debci-unstable-amd64 > usage: adt-run [options] action [action ...] --- virt-server [options] > adt-run: error: You must specify --- <virt-server>... > > > I noticed that adt-run needs "adt-virt-schroot or adt-virt-qemu" > as virt-server and I wonder what else I need to setup. > > Anyway since I simply can run the test suite from command line which is > just plain shell script and works perfectly for all other r-cran-* > packages that way I can not really believe that this should be the > source of the problem. Can you please confirm that the tr command is > exactly doing what you suggested in you patch? I do not really insist > on sticking to the unique scheme for all r-cran-* packages but I simply > wonder in turn whether something might be wrong with your testing > environment. > > Kind regards and thanks for caring about autopkgtest > > Andreas. > > On Thu, Sep 18, 2014 at 01:24:31PM -0300, Lucas Kanashiro wrote: > > > > Hi Andreas, > > > > Sorry for the delay to answer you! Did you try to run autopkgtest with debci > > setup? I didn't work in this package after I sent you my patch, but I will > > try > > to restart my work to solve this bug when I have free time. > > > > Regards. > > > > > > On Thu, 18 Sep 2014 17:15:17 +0200 > > Andreas Tille <[email protected]> wrote: > > > > > Hi Lucas, > > > > > > I'm just idling with fixing this bug since your suggested solution does > > > not fit, I can not reproduce the problem and you did not yet answered. > > > > > > Any news from your side? > > > > > > Kind regards > > > > > > Andreas. > > > > > > On Wed, Aug 27, 2014 at 03:44:00PM +0200, Andreas Tille wrote: > > > > Hi Lucas, > > > > > > > > On Wed, Aug 27, 2014 at 12:56:11AM -0300, Lucas Kanashiro wrote: > > > > > > > > > > adt-run [00:51:38]: test run-unit-test: [----------------------- > > > > > cp: cannot stat > > > > > ‘/usr/share/doc/r-cran-LearnBayes/examples/vignettes/*’: > > > > > No such file or directory > > > > > adt-run [00:51:38]: test run-unit-test: -----------------------] > > > > > > > > > > The name of package is wrong in debian/tests/run-unit-test file, I > > > > > only > > > > > put all the name of the package in lower case and everything works > > > > > well. > > > > > > > > Hmmm, that's strange since making the oname lower case is tr's job: > > > > > > > > $ echo LearnBayes | tr [A-Z] [a-z] > > > > learnbayes > > > > > > > > > --- r-cran-learnbayes-2.15.orig/debian/tests/run-unit-test > > > > > 2014-08-27 00:46:52.702295508 -0300 > > > > > +++ r-cran-learnbayes-2.15/debian/tests/run-unit-test 2014-08-27 > > > > > 00:47:24.622860173 -0300 > > > > > @@ -1,5 +1,5 @@ > > > > > #!/bin/sh -e > > > > > -oname=LearnBayes > > > > > +oname=learnbayes > > > > > pkg=r-cran-`echo $oname | tr [A-Z] [a-z]` > > > > > > > > > > if [ "$ADTTMP" = "" ] ; then > > > > > > > > So this is rather a hack than a fix (even if things are really cosmetic > > > > in this specific case). The rationale why I'm using "oname" (like > > > > original name of the R module) is, that in some other tests this > > > > original name is needed later as well. This works perfectly on my box > > > > and I wonder why tr fails to lower case the $oname variable. > > > > > > > > I think we should clarify this even in this example because the issue > > > > will come back in other cases. > > > > > > > > Kind regards and thanks for your intense work on debci > > > > > > > > Andreas. > > > > > > > > -- > > > > http://fam-tille.de > > > > > > > > -- > > > > debian-science-maintainers mailing list > > > > [email protected] > > > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers > > > > > > -- > > > http://fam-tille.de > > > > > > -- > > Lucas Kanashiro Duarte > > Engenharia de Software - FGA/UnB > > > > -- > http://fam-tille.de -- Lucas Kanashiro Duarte Engenharia de Software - FGA/UnB -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

