gnu: kpackage: Disable plasma-query test.
* gnu/packages/kde-frameworks.scm (kpackage) [arguments]: Remove #:parallel-tests? argument. <phases>: Add disable-problematic-tests phase. Change-Id: Ie79a7742bb62bb59fe16af3a2b9a0c4a5c925ee3master
parent
6e76ecde2d
commit
0a2d7d4a84
|
@ -2033,9 +2033,6 @@ covers feedback and persistent events.")
|
||||||
qtbase-5))
|
qtbase-5))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; The `plasma-querytest' test is known to fail when tests are run in parallel:
|
|
||||||
;; <https://sources.debian.org/src/kpackage/5.107.0-1/debian/changelog/#L92>
|
|
||||||
#:parallel-tests? #f
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch
|
(add-after 'unpack 'patch
|
||||||
|
@ -2062,6 +2059,13 @@ covers feedback and persistent events.")
|
||||||
"filePath(\"etc\", QStringLiteral(\"passwd\"))")
|
"filePath(\"etc\", QStringLiteral(\"passwd\"))")
|
||||||
(("\"/bin/ls\"")
|
(("\"/bin/ls\"")
|
||||||
"\"/etc/passwd\""))))
|
"\"/etc/passwd\""))))
|
||||||
|
(add-after 'unpack 'disable-problematic-tests
|
||||||
|
(lambda _
|
||||||
|
;; The 'plasma-query' test fails non-deterministically, as
|
||||||
|
;; reported e.g. in <https://bugs.gentoo.org/919151>.
|
||||||
|
(substitute* "autotests/CMakeLists.txt"
|
||||||
|
((".*querytest.*")
|
||||||
|
""))))
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (getcwd)))))))
|
(setenv "HOME" (getcwd)))))))
|
||||||
|
|
Reference in New Issue