unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brice Waegeneire <brice@waegenei.re>
To: 40609@debbugs.gnu.org
Subject: [bug#40609] [PATCH 1/3] gnu: umockdev: Fix test.
Date: Mon, 13 Apr 2020 21:49:58 +0200	[thread overview]
Message-ID: <20200413195000.28971-2-brice@waegenei.re> (raw)
In-Reply-To: <20200413195000.28971-1-brice@waegenei.re>

* gnu/packages/check.scm (umockdev)[inputs]: Remove
'gobject-introspection'.
[arguments]: Replace phase 'skip-broken-test' by 'fix-test'.
---
 gnu/packages/check.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2cfaddbc5f..ca0a00e004 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2019 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
+;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2427,11 +2428,10 @@ provides a simple way to achieve this.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'skip-broken-test
+         (add-after 'unpack 'fix-test
            (lambda _
              (substitute* "tests/test-umockdev.c"
-               (("/\\* sys/ in other dir")
-                (string-append "return; // ")))
+               (("/run") "/tmp"))
              #t)))))
     (native-inputs
      `(("vala" ,vala)
@@ -2444,8 +2444,7 @@ provides a simple way to achieve this.")
     (inputs
      `(("glib" ,glib)
        ("eudev" ,eudev)
-       ("libgudev" ,libgudev)
-       ("gobject-introspection" ,gobject-introspection)))
+       ("libgudev" ,libgudev)))
     (home-page "https://github.com/martinpitt/umockdev/")
     (synopsis "Mock hardware devices for creating unit tests")
     (description "umockdev mocks hardware devices for creating integration
-- 
2.26.0

  reply	other threads:[~2020-04-13 19:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 19:49 [bug#40608] [PATCH 0/3] gnu: Add usbguard Brice Waegeneire
2020-04-13 19:49 ` Brice Waegeneire [this message]
2020-04-13 19:49 ` [bug#40607] [PATCH 2/3] gnu: Add libqb Brice Waegeneire
2020-04-17 12:34   ` [bug#40607] [PATCH v2 0/3] gnu: Add usbguard Brice Waegeneire
2020-04-17 12:34     ` [bug#40607] [PATCH v2 1/3] gnu: umockdev: Fix test Brice Waegeneire
2020-04-17 12:34     ` [bug#40607] [PATCH v2 2/3] gnu: Add libqb Brice Waegeneire
2020-04-17 12:34     ` [bug#40607] [PATCH v2 3/3] gnu: Add usbguard Brice Waegeneire
2020-04-23 13:55   ` [bug#40607] [PATCH v3 0/3] Add usbguard package Brice Waegeneire
2020-04-23 13:55     ` [bug#40607] [PATCH v3 1/3] gnu: umockdev: Fix test Brice Waegeneire
2020-04-23 13:55     ` [bug#40607] [PATCH v3 2/3] gnu: Add libqb Brice Waegeneire
2020-04-23 13:55     ` [bug#40607] [PATCH v3 3/3] gnu: Add usbguard Brice Waegeneire
2020-04-30 23:20     ` bug#40607: [PATCH v3 0/3] Add usbguard package Ludovic Courtès
2020-05-01 13:10       ` [bug#40607] " Brice Waegeneire
2020-04-13 19:50 ` [bug#40610] [PATCH 3/3] gnu: Add usbguard Brice Waegeneire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200413195000.28971-2-brice@waegenei.re \
    --to=brice@waegenei.re \
    --cc=40609@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).