Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Cc: nerdboy@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-java/rjava: rjava-0.5.1.ebuild metadata.xml Manifest ChangeLog
Date: Mon, 01 Oct 2007 12:06:16
Message-Id: b41005390710010454v26160fdap2b5c73bba3928073@mail.gmail.com
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-java/rjava: rjava-0.5.1.ebuild metadata.xml Manifest ChangeLog by Donnie Berkholz
1 On 9/30/07, Donnie Berkholz <dberkholz@g.o> wrote:
2 > On 04:42 Mon 01 Oct , Steve Arnold (nerdboy) wrote:
3 > > Revision Changes Path
4 > > 1.1 dev-java/rjava/rjava-0.5.1.ebuild
5 > >
6 > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&view=markup
7 > > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild?rev=1.1&content-type=text/plain
8 >
9 > > src_compile() {
10 > > export R_HOME="/usr/$(get_libdir)/R"
11 > >
12 > > # use R's check command to test package (really needs to come before
13 > > # the src_compile section)
14 > > if has test ${FEATURES}; then
15 > > cd ${WORKDIR}
16 > > R CMD check ${MY_PN}
17 > > fi
18
19 Wouldn't you over-ride src_test in this case?
20
21 It would be interesting if you could specify the testing command
22 rather than doing a hack like this.
23
24 TEST_CMD='/path/to/R CMD check ${MY_PN}'
25
26 then in src_test in ebuild.sh we would use that var if make failed or
27 something similar.
28 --
29 gentoo-dev@g.o mailing list