From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exxIV-0004cL-1D for guix-patches@gnu.org; Mon, 19 Mar 2018 12:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exxIQ-0001bW-2o for guix-patches@gnu.org; Mon, 19 Mar 2018 12:06:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34162) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exxIP-0001bG-V2 for guix-patches@gnu.org; Mon, 19 Mar 2018 12:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1exxIP-0004hS-Kk for guix-patches@gnu.org; Mon, 19 Mar 2018 12:06:01 -0400 Subject: [bug#30853] [PATCH core-updates] build-system/gnu: Dump test suite logs upon 'check' failure. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exxHv-0004On-UK for guix-patches@gnu.org; Mon, 19 Mar 2018 12:05:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exxHp-00015j-Tm for guix-patches@gnu.org; Mon, 19 Mar 2018 12:05:31 -0400 From: Mark H Weaver References: <20180319095218.9744-1-ludo@gnu.org> Date: Mon, 19 Mar 2018 12:04:25 -0400 In-Reply-To: <20180319095218.9744-1-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Cour\?\= \=\?utf-8\?Q\?t\=C3\=A8s\=22's\?\= message of "Mon, 19 Mar 2018 10:52:18 +0100") Message-ID: <87a7v4dpbq.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30853@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Suggested by Mark H Weaver . > > * guix/build/gnu-build-system.scm (dump-file-contents): New procedure. > (%test-suite-log-regexp): New variable. > (check): Add #:test-suite-log-regexp. Catch 'invoke-error?' and call > 'dump-file-contents' upon error. Looks good to me. Thank you! Mark