summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-06-22 13:04:33 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-06-22 13:05:09 +0300
commit202afee2dad13aaaaf8dc88effe36a22f7ba671a (patch)
treef6912656659838ecf2a5e9921d8bf436738098b6
parent992a9e59dd6cdd44d3b57dee4b736081be2db4a3 (diff)
downloadguix-202afee2dad13aaaaf8dc88effe36a22f7ba671a.tar.gz
gnu: qtsensors: Lengthen test timeout.
* gnu/packages/qt.scm (qtsensors)[arguments]: Lengthen test
timeout so it passes on slower machines.
-rw-r--r--gnu/packages/qt.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index e9cc4ce87e..06102a0873 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -736,6 +736,15 @@ developers using C++ or QML, a CSS & JavaScript like language.")
              (sha256
               (base32
                "0jdaw0i6rirs66x4cjh8l24fsyp020x1mv1psyf3ffbkdq1pngjx"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments qtsvg)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'lengthen-test-timeout
+             (lambda _
+               (substitute* "tests/auto/qsensorgestures_gestures/tst_sensorgestures_gestures.cpp"
+                 (("2000") "5000"))
+               #t))))))
     (native-inputs
      `(("perl" ,perl)
        ("qtdeclarative" ,qtdeclarative)))