[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: guxi: cmake-build-system: Enable output for failing test-cases.
From: |
Hartmut Goebel |
Subject: |
01/01: guxi: cmake-build-system: Enable output for failing test-cases. |
Date: |
Tue, 15 Nov 2016 21:40:37 +0000 (UTC) |
htgoebel pushed a commit to branch staging
in repository guix.
commit caa9b834e75ec75e4c82d8abf8502be72c93a48e
Author: Hartmut Goebel <address@hidden>
Date: Sat Oct 8 14:26:36 2016 +0200
guxi: cmake-build-system: Enable output for failing test-cases.
* 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?)))