Bug#759413: r-cran-learnbayes: Fail of tests in debci (autopkgtest)

Andreas Tille andreas at an3as.eu
Thu Sep 18 15:15:17 UTC 2014


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
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list