gnu: qtxmlpatterns: Skip network tests.
* gnu/packages/qt.scm (qtxmlpatterns)[arguments]: Add custom phase to prevent the building of network tests.
This commit is contained in:
parent
c195b5ba98
commit
f66b3e1523
|
@ -634,7 +634,13 @@ developers using C++ or QML, a CSS & JavaScript like language.")
|
||||||
"1rgqnpg64gn5agmvjwy0am8hp5fpxl3cdkixr1yrsdxi5a6961d8"))))
|
"1rgqnpg64gn5agmvjwy0am8hp5fpxl3cdkixr1yrsdxi5a6961d8"))))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments qtsvg)
|
(substitute-keyword-arguments (package-arguments qtsvg)
|
||||||
((#:tests? _ #f) #f))) ; TODO: Enable the tests
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(add-after 'unpack 'disable-network-tests
|
||||||
|
(lambda _ (substitute* "tests/auto/auto.pro"
|
||||||
|
(("qxmlquery") "# qxmlquery")
|
||||||
|
(("xmlpatterns") "# xmlpatterns"))
|
||||||
|
#t))))))
|
||||||
(native-inputs `(("perl" ,perl)))
|
(native-inputs `(("perl" ,perl)))
|
||||||
(inputs `(("qtbase" ,qtbase)))))
|
(inputs `(("qtbase" ,qtbase)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue