On 9/30/07, Donnie Berkholz <[EMAIL PROTECTED]> wrote:
> On 04:42 Mon 01 Oct     , Steve Arnold (nerdboy) wrote:
> > Revision  Changes    Path
> > 1.1                  dev-java/rjava/rjava-0.5.1.ebuild
> >
> > file : 
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&view=markup
> > plain: 
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&content-type=text/plain
>
> > src_compile() {
> >       export R_HOME="/usr/$(get_libdir)/R"
> >
> >       # use R's check command to test package (really needs to come before
> >       # the src_compile section)
> >       if has test ${FEATURES}; then
> >           cd ${WORKDIR}
> >           R CMD check ${MY_PN}
> >       fi

Wouldn't you over-ride src_test in this case?

It would be interesting if you could specify the testing command
rather than doing a hack like this.

TEST_CMD='/path/to/R CMD check ${MY_PN}'

then in src_test in ebuild.sh we would use that var if make failed or
something similar.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to