guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: cmake: Disable parallel tests.


From: ???
Subject: 02/02: gnu: cmake: Disable parallel tests.
Date: Tue, 28 Apr 2015 09:19:02 +0000

iyzsong pushed a commit to branch core-updates
in repository guix.

commit e32316e62f54bbda07e88f22d97fc28b84eb70b8
Author: 宋文武 <address@hidden>
Date:   Tue Apr 28 17:16:18 2015 +0800

    gnu: cmake: Disable parallel tests.
    
    * gnu/packages/cmake.scm (cmake)[arguments]: Add #:parallel-tests?.
      Set 'CTEST_OUTPUT_ON_FAILURE' to 'TRUE' in 'set-paths phase.
---
 gnu/packages/cmake.scm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 0dbb81b..6f8b9f6 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -49,6 +49,7 @@
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
+       #:parallel-tests? #f ; 3 test from RunCMake fails
        #:phases (alist-cons-before
                  'configure 'patch-bin-sh
                  (lambda _
@@ -76,7 +77,9 @@
                     ;; Help cmake's bootstrap process to find system libraries
                     (begin
                       (setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
-                      (setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH"))))
+                      (setenv "CMAKE_INCLUDE_PATH" (getenv "CPATH"))
+                      ;; Get verbose output from failed tests
+                      (setenv "CTEST_OUTPUT_ON_FAILURE" "TRUE")))
                   (alist-replace
                    'configure
                    (lambda* (#:key outputs #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]