From unknown Sun Jun 15 08:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14132: check-build target Resent-From: Zimmermann Paul Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 03 Apr 2013 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14132 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 14132@debbugs.gnu.org Cc: Vincent.Lefevre@ens-lyon.fr X-Debbugs-Original-To: bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136500851724814 (code B ref -1); Wed, 03 Apr 2013 17:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2013 17:01:57 +0000 From: Zimmermann Paul Message-Id: 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 From unknown Sun Jun 15 08:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14132: check-build target Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 19 Apr 2013 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14132 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Zimmermann Paul Cc: 14132@debbugs.gnu.org, Vincent.Lefevre@ens-lyon.fr Received: via spool by 14132-submit@debbugs.gnu.org id=B14132.136638238132591 (code B ref 14132); Fri, 19 Apr 2013 14:40:02 +0000 Received: (at 14132) by debbugs.gnu.org; 19 Apr 2013 14:39:41 +0000 Received: from localhost ([127.0.0.1]:60250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTCTU-0008TZ-5P for submit@debbugs.gnu.org; Fri, 19 Apr 2013 10:39:41 -0400 Received: from mail-ea0-f176.google.com ([209.85.215.176]:45334) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTCTR-0008TJ-6u; Fri, 19 Apr 2013 10:39:38 -0400 Received: by mail-ea0-f176.google.com with SMTP id h14so1186790eak.21 for ; Fri, 19 Apr 2013 07:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Q1SVWrXNGICz4UJ48CqkWeZSS+rLBgINWr0R1ZqNZPA=; b=fldy4l3oenVeQwYnvRYZ3K0qEBBYJ4iPHpUZpGBioVOJuKsY6eNjP2na0dpyaqhc83 2kwYxKARNJqZD2MVPM8glrU105buTtRL7blxgEhlvY6Y+NC0a/fED/+f7giz7klQo1bL x2Fx+gY6F64KkFkOl7nL2VLB0bthpEWl4hH0WTyWG+r1ebhHbhBRsbvhZ0Pi6v+bBKJ5 mwFO1FJ6DES4QHAXIr8CytByUATD6q1h4dQkj6cIsiM9gU9cDh0rfdrGqG958MH3w9wh xB0/aA7sV14A60iwLpJ/Z+7tVLnHDABWPhfLJfL8Ctua6c/GPbOHD75k4G10E++DTV+q 2Vmg== X-Received: by 10.14.3.73 with SMTP id 49mr450414eeg.14.1366382101921; Fri, 19 Apr 2013 07:35:01 -0700 (PDT) Received: from [192.168.178.20] (host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93]) by mx.google.com with ESMTPS id a41sm23484050eei.4.2013.04.19.07.34.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Apr 2013 07:35:01 -0700 (PDT) Message-ID: <51715612.8060706@gmail.com> Date: Fri, 19 Apr 2013 16:34:58 +0200 From: Stefano Lattarini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) 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 From unknown Sun Jun 15 08:55:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14132: check-build target Resent-From: Zimmermann Paul Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 19 Apr 2013 15:31:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14132 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Stefano Lattarini Cc: 14132@debbugs.gnu.org, Vincent.Lefevre@ens-lyon.fr Received: via spool by 14132-submit@debbugs.gnu.org id=B14132.136638544111592 (code B ref 14132); Fri, 19 Apr 2013 15:31:05 +0000 Received: (at 14132) by debbugs.gnu.org; 19 Apr 2013 15:30:41 +0000 Received: from localhost ([127.0.0.1]:60301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTDGn-00030j-M7 for submit@debbugs.gnu.org; Fri, 19 Apr 2013 11:30:40 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:22399) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UTDGg-00030M-Pk for 14132@debbugs.gnu.org; Fri, 19 Apr 2013 11:30:33 -0400 X-IronPort-AV: E=Sophos;i="4.87,510,1363129200"; d="scan'208";a="14066056" Received: from tarte.loria.fr ([152.81.15.145]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 19 Apr 2013 17:25:54 +0200 Received: from zimmerma by tarte.loria.fr with local (Exim 4.76) (envelope-from ) id 1UTDCE-00047V-IN; Fri, 19 Apr 2013 17:25:54 +0200 From: Zimmermann Paul Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 In-reply-to: <51715612.8060706@gmail.com> (message from Stefano Lattarini on Fri, 19 Apr 2013 16:34:58 +0200) References: <51715612.8060706@gmail.com> Message-Id: Date: Fri, 19 Apr 2013 17:25:54 +0200 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) thank you Stefano for your feedback. Paul > Date: Fri, 19 Apr 2013 16:34:58 +0200 > From: Stefano Lattarini > CC: 14132@debbugs.gnu.org, Vincent.Lefevre@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 >