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
|
@ -66,6 +66,7 @@
|
||||||
(define* (check #:key (tests? #t) (parallel-tests? #t) (test-target "test")
|
(define* (check #:key (tests? #t) (parallel-tests? #t) (test-target "test")
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
(let ((gnu-check (assoc-ref gnu:%standard-phases 'check)))
|
(let ((gnu-check (assoc-ref gnu:%standard-phases 'check)))
|
||||||
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
||||||
(gnu-check #:tests? tests? #:test-target test-target
|
(gnu-check #:tests? tests? #:test-target test-target
|
||||||
#:parallel-tests? parallel-tests?)))
|
#:parallel-tests? parallel-tests?)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue