Browse Source

gnu: qtxmlpatterns: Skip network tests.

* gnu/packages/qt.scm (qtxmlpatterns)[arguments]: Add custom phase to
prevent the building of network tests.
wip-git-https
Efraim Flashner 6 years ago
parent
commit
f66b3e1523
Signed by: efraim GPG Key ID: F4C1D3917EACEE93
  1. 8
      gnu/packages/qt.scm

8
gnu/packages/qt.scm

@ -634,7 +634,13 @@ developers using C++ or QML, a CSS & JavaScript like language.")
"1rgqnpg64gn5agmvjwy0am8hp5fpxl3cdkixr1yrsdxi5a6961d8"))))
(arguments
(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)))
(inputs `(("qtbase" ,qtbase)))))

Loading…
Cancel
Save