diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-04-28 17:16:18 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-28 17:16:18 +0800 |
commit | e32316e62f54bbda07e88f22d97fc28b84eb70b8 (patch) | |
tree | 07d28e3125e319e850693c4c7ea70a4629d00a1c /gnu/packages | |
parent | 477a752e897c41a08f141d2af724ba817338e914 (diff) | |
download | guix-e32316e62f54bbda07e88f22d97fc28b84eb70b8.tar guix-e32316e62f54bbda07e88f22d97fc28b84eb70b8.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | 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 0dbb81bfb8..6f8b9f67e3 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) |