unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39449: [PATCH] gnu: sane-backends: Disable genesys_unit_tests.
       [not found] <20200206071938.01a299f1@scratchpost.org>
@ 2020-02-06 22:39 ` Leo Prikler
  2020-02-13 22:36   ` [bug#39476] " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2020-02-06 22:39 UTC (permalink / raw)
  To: guix-patches; +Cc: 39449

* gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
Add disable-failing-backend-tests.
---
 gnu/packages/scanner.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 6adaba18cd..3f922a4747 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -131,6 +131,10 @@ 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 _
+               (substitute* "testsuite/backend/genesys/Makefile.in"
+                  ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))))
            (add-after 'unpack 'add-backends
              (lambda _
                (substitute* "backend/dll.conf.in"
-- 
2.25.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#39476] [PATCH] gnu: sane-backends: Disable genesys_unit_tests.
  2020-02-06 22:39 ` bug#39449: [PATCH] gnu: sane-backends: Disable genesys_unit_tests Leo Prikler
@ 2020-02-13 22:36   ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-02-13 22:36 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 39476, 39449

Hi,

Leo Prikler <leo.prikler@student.tugraz.at> skribis:

> * gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
> Add disable-failing-backend-tests.
> ---
>  gnu/packages/scanner.scm | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
> index 6adaba18cd..3f922a4747 100644
> --- a/gnu/packages/scanner.scm
> +++ b/gnu/packages/scanner.scm
> @@ -131,6 +131,10 @@ 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 _
> +               (substitute* "testsuite/backend/genesys/Makefile.in"
> +                  ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))))

Applied with two things: returning #t, and adding a comment linking to
the bug report.

Danny: this is actually on i686, not on x86_64.  See the build logs:

--8<---------------cut here---------------start------------->8---
$ guix build sane-backends -s i686-linux --log-file --no-grafts
https://ci.guix.gnu.org/log/w150bi6vvqqll31qqy99vm1iwwj4hgm9-sane-backends-1.0.29
$ guix build sane-backends -s x86_64-linux --log-file --no-grafts
https://ci.guix.gnu.org/log/m8mdg866lkzw6jnbgdz8b4spk61mx2y6-sane-backends-1.0.29
$ guix describe
Generacio 128   Feb 10 2020 22:29:47    (nuna)
  guix 8a0dd28
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 8a0dd289c5b201ebfdd5465d412230bb81110e4c
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-13 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200206071938.01a299f1@scratchpost.org>
2020-02-06 22:39 ` bug#39449: [PATCH] gnu: sane-backends: Disable genesys_unit_tests Leo Prikler
2020-02-13 22:36   ` [bug#39476] " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).