mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
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:
parent
86f4e9d76a
commit
caa9b834e7
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ (define* (configure #:key outputs (configure-flags '()) (out-of-source? #t)
|
|||
(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?)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue