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:
Efraim Flashner 2017-01-08 13:35:41 +02:00
parent c195b5ba98
commit f66b3e1523
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 7 additions and 1 deletions

View File

@ -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)))))