gnu: libksysguard: Enable more tests (not all working yet).
* gnu/packages/kde.scm (libksysguard)[arguments] <#:phases>'check-setup': Set QT_QPA_PLATFORM=offscreen. <#:phases>'check': Enable all tests except of the failing one.master
parent
2d6da7942a
commit
e3c13d044f
|
@ -300,9 +300,14 @@ used in KDE development tools Kompare and KDevelop.")
|
||||||
;; KF5AuthConfig.cmake.in contains this already.
|
;; KF5AuthConfig.cmake.in contains this already.
|
||||||
(substitute* "processcore/CMakeLists.txt"
|
(substitute* "processcore/CMakeLists.txt"
|
||||||
(("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR"))))
|
(("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR"))))
|
||||||
|
(add-before 'check 'check-setup
|
||||||
|
(lambda _
|
||||||
|
;; make Qt render "offscreen", required for tests
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ ;other tests require a display and therefore fail
|
(lambda _
|
||||||
(zero? (system* "ctest" "-R" "chronotest")))))))
|
;; TODO: Fix this failing test-case
|
||||||
|
(zero? (system* "ctest" "-E" "processtest")))))))
|
||||||
(home-page "https://www.kde.org/info/plasma-5.10.4.php")
|
(home-page "https://www.kde.org/info/plasma-5.10.4.php")
|
||||||
(synopsis "Network enabled task and system monitoring")
|
(synopsis "Network enabled task and system monitoring")
|
||||||
(description "KSysGuard can obtain information on system load and
|
(description "KSysGuard can obtain information on system load and
|
||||||
|
|
Loading…
Reference in New Issue