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

Full log


View this message in rfc822 format

From: Zimmermann Paul <Paul.Zimmermann <at> inria.fr>
To: 14132 <at> debbugs.gnu.org
Cc: Vincent.Lefevre <at> ens-lyon.fr
Subject: bug#14132: 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


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

Previous Next


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