summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2020-02-06 23:39:55 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-13 23:32:19 +0100
commit5f6ce90a90011147a555cd400d7aaec8ef532a7f (patch)
treed1e7bb85e3c9f334a9a7c51d410aa6b0bcafc913
parent0a193d321b603b6b95b00594c124b37de230261e (diff)
downloadguix-5f6ce90a90011147a555cd400d7aaec8ef532a7f.tar.gz
gnu: sane-backends: Disable genesys_unit_tests.
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>
-rw-r--r--gnu/packages/scanner.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 6adaba18cd..1e4231b7e7 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -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"