aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-01-08 13:35:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-01-13 07:00:03 +0200
commitf66b3e1523e1c7ee7d78958b2a8526d9100f0809 (patch)
tree88aa073106891663351ac2dfdda2ffd7b6cbddbf
parentc195b5ba9855830bf0826304be17655c627f1788 (diff)
downloadpatches-f66b3e1523e1c7ee7d78958b2a8526d9100f0809.tar
patches-f66b3e1523e1c7ee7d78958b2a8526d9100f0809.tar.gz
gnu: qtxmlpatterns: Skip network tests.
* gnu/packages/qt.scm (qtxmlpatterns)[arguments]: Add custom phase to prevent the building of network tests.
-rw-r--r--gnu/packages/qt.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 5189da4af0..b2fe6e445c 100644
--- a/gnu/packages/qt.scm
+++ b/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)))))