gnu: sane-backends: Disable genesys_unit_tests.
authorLeo Prikler <leo.prikler@student.tugraz.at>
Thu, 6 Feb 2020 22:39:55 +0000 (23:39 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 13 Feb 2020 22:32:19 +0000 (23:32 +0100)
Fixes <https://bugs.gnu.org/39449>.

* gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
Add disable-failing-backend-tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/scanner.scm

index 6adaba1..1e4231b 100644 (file)
@@ -131,6 +131,13 @@ package contains the library, but no drivers.")
        ((#:phases phases)
         `(modify-phases ,phases
            (delete 'disable-backends)
+           (add-after 'disable-failing-tests 'disable-failing-backend-tests
+             (lambda _
+               ;; Disable test that fails on i686:
+               ;;   <https://bugs.gnu.org/39449>
+               (substitute* "testsuite/backend/genesys/Makefile.in"
+                 ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))
+               #t))
            (add-after 'unpack 'add-backends
              (lambda _
                (substitute* "backend/dll.conf.in"