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.
This commit is contained in:
Hartmut Goebel 2016-10-08 14:26:36 +02:00
parent 86f4e9d76a
commit caa9b834e7
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 1 additions and 0 deletions

View File

@ -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?)))