GNU bug report logs - #14132
check-build target

Previous Next

Package: automake;

Reported by: Zimmermann Paul <Paul.Zimmermann <at> inria.fr>

Date: Wed, 3 Apr 2013 17:02:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 14132 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#14132; Package automake. (Wed, 03 Apr 2013 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zimmermann Paul <Paul.Zimmermann <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Wed, 03 Apr 2013 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zimmermann Paul <Paul.Zimmermann <at> inria.fr>
To: bug-automake <at> gnu.org
Cc: Vincent.Lefevre <at> ens-lyon.fr
Subject: check-build target
Date: Wed, 03 Apr 2013 15:37:16 +0200
       Hi,

this is not a real bug report, but a feature request.

We are using automake in the GNU MPFR project. Thank you for this program!
In our "make check" target, automake produces:

check-am: all-am
        $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS

However when cross-compiling, we'd like to only build the tests binaries,
not run them on the build machine.

Thus it would be nice to have a separate target (say check-build) that would
only build the check programs, not run them:

check-build:
        $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)

check-am: all-am check-build
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS

Best regards,
Paul Zimmermann


Information forwarded to bug-automake <at> gnu.org:
bug#14132; Package automake. (Fri, 19 Apr 2013 14:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 14132 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Zimmermann Paul <Paul.Zimmermann <at> inria.fr>
Cc: 14132 <at> debbugs.gnu.org, Vincent.Lefevre <at> ens-lyon.fr
Subject: Re: bug#14132: check-build target
Date: Fri, 19 Apr 2013 16:34:58 +0200
severity 14132 wishlist
thanks

Hi Paul, sorry for the shameful delay.

On 04/03/2013 03:37 PM, Zimmermann Paul wrote:
>        Hi,
> 
> this is not a real bug report, but a feature request.
> 
And tagging the report accordingly.

> We are using automake in the GNU MPFR project. Thank you for this program!
> In our "make check" target, automake produces:
> 
> check-am: all-am
>         $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
>         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
> 
> However when cross-compiling, we'd like to only build the tests binaries,
> not run them on the build machine.
> 
> Thus it would be nice to have a separate target (say check-build) that would
> only build the check programs, not run them:
> 
> check-build:
>         $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
> 
Sound sensible.  Maybe with s/check-build/check-build-am/ though, to avoid
impinging on the user namespace, and avoid breaking existing Makefile.am
that happen to already use the 'check-build' target name for other purposes
(I bet there are such packages in the wild).

> check-am: all-am check-build
>         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
>
A change in this direction doesn't seem to difficult, and I agree that the
feature you are requesting might indeed be useful.  But I don't have much
Automake time ATM, and there are existing loose ends that needs to be
addressed first.  So I don't know when I will get back to your feature
request, sadly.  In the meantime, if you want to help speeding things up,
patches are very welcome ;-)

Best regards,
  Stefano




Severity set to 'wishlist' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Apr 2013 14:40:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#14132; Package automake. (Fri, 19 Apr 2013 15:31:05 GMT) Full text and rfc822 format available.

Message #13 received at 14132 <at> debbugs.gnu.org (full text, mbox):

From: Zimmermann Paul <Paul.Zimmermann <at> inria.fr>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 14132 <at> debbugs.gnu.org, Vincent.Lefevre <at> ens-lyon.fr
Subject: Re: bug#14132: check-build target
Date: Fri, 19 Apr 2013 17:25:54 +0200
thank you Stefano for your feedback.

Paul

> Date: Fri, 19 Apr 2013 16:34:58 +0200
> From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
> CC: 14132 <at> debbugs.gnu.org, Vincent.Lefevre <at> ens-lyon.fr
> Content-Type: text/plain; charset=UTF-8
> 
> severity 14132 wishlist
> thanks
> 
> Hi Paul, sorry for the shameful delay.
> 
> On 04/03/2013 03:37 PM, Zimmermann Paul wrote:
> >        Hi,
> > 
> > this is not a real bug report, but a feature request.
> > 
> And tagging the report accordingly.
> 
> > We are using automake in the GNU MPFR project. Thank you for this program!
> > In our "make check" target, automake produces:
> > 
> > check-am: all-am
> >         $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
> >         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
> > 
> > However when cross-compiling, we'd like to only build the tests binaries,
> > not run them on the build machine.
> > 
> > Thus it would be nice to have a separate target (say check-build) that would
> > only build the check programs, not run them:
> > 
> > check-build:
> >         $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
> > 
> Sound sensible.  Maybe with s/check-build/check-build-am/ though, to avoid
> impinging on the user namespace, and avoid breaking existing Makefile.am
> that happen to already use the 'check-build' target name for other purposes
> (I bet there are such packages in the wild).
> 
> > check-am: all-am check-build
> >         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
> >
> A change in this direction doesn't seem to difficult, and I agree that the
> feature you are requesting might indeed be useful.  But I don't have much
> Automake time ATM, and there are existing loose ends that needs to be
> addressed first.  So I don't know when I will get back to your feature
> request, sadly.  In the meantime, if you want to help speeding things up,
> patches are very welcome ;-)
> 
> Best regards,
>   Stefano
> 




This bug report was last modified 12 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.