gnu: kcoreaddons: Enable test-suite.

Enable running the tests and blacklist the one failing test.

* gnu/package/kde-frameworks.scm(kcoreaddons)[arguments]
  <#:tests?>: Remove. <#:phases>: Add phase 'blacklist-failing-test.
This commit is contained in:
Hartmut Goebel 2019-01-01 23:07:30 +01:00
parent 22fe911061
commit 2d4589ffb9
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 9 additions and 2 deletions

View File

@ -567,9 +567,16 @@ propagate their changes to their respective configuration files.")
(inputs (inputs
`(("qtbase" ,qtbase))) `(("qtbase" ,qtbase)))
(arguments (arguments
`(#:tests? #f ; FIXME: Test failure caused by stout/stderr being interleaved. `(#:phases
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'blacklist-failing-test
(lambda _
;; Blacklist a failing test-function. FIXME: Make it pass.
;; Test failure caused by stout/stderr being interleaved.
(with-output-to-file "autotests/BLACKLIST"
(lambda _
(display "[test_channels]\n*\n")))
#t))
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda _ (lambda _
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))