--- Begin Message ---
Subject: |
check_JAVA built during make |
Date: |
Sat, 12 Mar 2011 18:46:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.8.1.23) Gecko/20090916 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
http://sources.redhat.com/automake/automake.html
"The special prefix ‘check_’ indicates that the objects in question
should not be built until the ‘make check’ command is run. Those objects
are not installed either. "
It seems this is not how check_JAVA behaves currently. I added a
Hello.java to the gnu Hello package and it seems to be always built when
in check_JAVA.
http://ftp.gnu.org/gnu/hello/
make[2]: Entering directory `/home/betelgeuse/gsoc/hello-2.6'
CLASSPATH=.:./.:$CLASSPATH javac -d . Hello.java
echo timestamp > classcheck.stamp
make[2]: Leaving directory `/home/betelgeuse/gsoc/hello-2.6'
address@hidden ~/gsoc/hello-2.6 $ grep Hello.java Makefile.am
check_JAVA = Hello.java
Petteri
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#8234: check_JAVA built during make |
Date: |
Sat, 9 Apr 2011 23:34:54 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
On Wednesday 06 April 2011, Stefano Lattarini wrote:
> On Saturday 12 March 2011, Petteri Räty wrote:
> > http://sources.redhat.com/automake/automake.html
> >
> > "The special prefix ‘check_’ indicates that the objects in question
> > should not be built until the ‘make check’ command is run. Those objects
> > are not installed either. "
> >
> > It seems this is not how check_JAVA behaves currently. I added a
> > Hello.java to the gnu Hello package and it seems to be always built when
> > in check_JAVA.
> >
> > http://ftp.gnu.org/gnu/hello/
> >
> > make[2]: Entering directory `/home/betelgeuse/gsoc/hello-2.6'
> > CLASSPATH=.:./.:$CLASSPATH javac -d . Hello.java
> > echo timestamp > classcheck.stamp
> > make[2]: Leaving directory `/home/betelgeuse/gsoc/hello-2.6'
> >
> > address@hidden ~/gsoc/hello-2.6 $ grep Hello.java Makefile.am
> > check_JAVA = Hello.java
> >
> > Petteri
> >
> The attached patch should fix the bug. The exposing testcase passes
> with the modification to automake.in installed, and fails without.
>
> OK for maint? I'll push in 72 hours if there is no objection.
>
> Regards,
> Stefano
>
A fix for this bug has been applied to maint as commit v1.11-332-g38f41a0.
I'm thus marking the bug as closed.
Thanks,
Stefano
--- End Message ---