From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH] guxi: cmake-build-system: Enable output for failing test-cases. Date: Mon, 10 Oct 2016 15:02:43 +0200 Message-ID: <1476104563-29373-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btaEF-0005aa-Lf for guix-devel@gnu.org; Mon, 10 Oct 2016 09:02:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btaEB-00037K-FV for guix-devel@gnu.org; Mon, 10 Oct 2016 09:02:50 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:60614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btaEB-000378-9p for guix-devel@gnu.org; Mon, 10 Oct 2016 09:02:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3st0fG1q4Pz3hjXB for ; Mon, 10 Oct 2016 15:02:46 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3st0fG0n9WzvkVT for ; Mon, 10 Oct 2016 15:02:46 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id dP1JX95QBsvB for ; Mon, 10 Oct 2016 15:02:44 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-147-59.dynamic.mnet-online.de [188.174.147.59]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 10 Oct 2016 15:02:44 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 92E1860B40 for ; Mon, 10 Oct 2016 15:02:43 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * guix/build/cmake-build-system.scm (cmake-build-system): Set environment variable CTEST_OUTPUT_ON_FAILURE to an non-empty value. --- guix/build/cmake-build-system.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/build/cmake-build-system.scm b/guix/build/cmake-build-system.scm index f57622e..27f2b5c 100644 --- a/guix/build/cmake-build-system.scm +++ b/guix/build/cmake-build-system.scm @@ -66,6 +66,7 @@ (define* (check #:key (tests? #t) (parallel-tests? #t) (test-target "test") #:allow-other-keys) (let ((gnu-check (assoc-ref gnu:%standard-phases 'check))) + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") (gnu-check #:tests? tests? #:test-target test-target #:parallel-tests? parallel-tests?))) -- 2.7.4