GNU bug report logs - #41447
[PATCH 0/3] upower: Enable tests

Previous Next

Package: guix-patches;

Reported by: Brice Waegeneire <brice <at> waegenei.re>

Date: Fri, 22 May 2020 08:19:02 UTC

Severity: normal

Tags: patch

Done: Brice Waegeneire <brice <at> waegenei.re>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41447 in the body.
You can then email your comments to 41447 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#41447; Package guix-patches. (Fri, 22 May 2020 08:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brice Waegeneire <brice <at> waegenei.re>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 22 May 2020 08:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/3] upower: Enable tests
Date: Fri, 22 May 2020 10:18:17 +0200
Brice Waegeneire (3):
  gnu: umockdev: Add 'gobject-introspection'.
  gnu: umockdev: Update to 0.14.1.
  gnu: upower: Enable tests.

 gnu/packages/check.scm |  5 +++--
 gnu/packages/gnome.scm | 18 ++++++++++++++----
 2 files changed, 17 insertions(+), 6 deletions(-)

-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41447; Package guix-patches. (Fri, 22 May 2020 08:23:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection'.
Date: Fri, 22 May 2020 10:22:41 +0200
* gnu/packages/check.scm (umockdev)[native-inuputs]: Add
'gobject-introspection'.
---
 gnu/packages/check.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 12e01795ee..b279dc149d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2538,6 +2538,7 @@ provides a simple way to achieve this.")
              #t)))))
     (native-inputs
      `(("vala" ,vala)
+       ("gobject-introspection" ,gobject-introspection)
        ("gtk-doc" ,gtk-doc)
        ("pkg-config" ,pkg-config)
 
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41447; Package guix-patches. (Fri, 22 May 2020 08:23:03 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 2/3] gnu: umockdev: Update to 0.14.1.
Date: Fri, 22 May 2020 10:22:42 +0200
* gnu/packages/check.scm (umockdev) Update to 0.14.1.
---
 gnu/packages/check.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index b279dc149d..7d7fd189bc 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2518,7 +2518,7 @@ provides a simple way to achieve this.")
 (define-public umockdev
   (package
     (name "umockdev")
-    (version "0.13.2")
+    (version "0.14.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/martinpitt/umockdev/"
@@ -2526,7 +2526,7 @@ provides a simple way to achieve this.")
                                   "umockdev-" version ".tar.xz"))
               (sha256
                (base32
-                "095v3abc321s584sga04y16lcmdzsdi88h24wcrm78v7vq484g74"))))
+                "1g78jcrvb7yyh0q5kv5409wjqf8nlfqnw1rknm3a247mcx317dpz"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41447; Package guix-patches. (Fri, 22 May 2020 08:23:03 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: guix-patches <at> gnu.org
Subject: [PATCH 3/3] gnu: upower: Enable tests.
Date: Fri, 22 May 2020 10:22:43 +0200
* gnu/packages/gnome.scm (upower)[arguments]: Enable tests and add
phases 'pre-check'.
[native-inputs]: Add 'python-pygobject', 'python-dbus',
'python-dbusmock' and 'umockdev'.
---
 gnu/packages/gnome.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 803ac8fe5a..afd40ac725 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4156,10 +4156,14 @@ faster results and to avoid unnecessary server load.")
                   #t))))
     (build-system glib-or-gtk-build-system)
     (arguments
-     '( ;; The tests want to contact the system bus, which can't be done in the
-       ;; build environment.  The integration test can run, but the last of
-       ;; the up-self-tests doesn't.  Disable tests for now.
-       #:tests? #f
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'pre-check
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((umockdev (string-append (assoc-ref inputs "umockdev")
+                                            "/lib")))
+               (setenv "LD_LIBRARY_PATH" umockdev))
+             #t)))
        #:configure-flags (list "--localstatedir=/var"
                                (string-append "--with-udevrulesdir="
                                               (assoc-ref %outputs "out")
@@ -4170,6 +4174,12 @@ faster results and to avoid unnecessary server load.")
        ("intltool" ,intltool)
        ("python" ,python)
 
+       ;; For tests.
+       ("python-dbus" ,python-dbus)
+       ("python-dbusmock" ,python-dbusmock)
+       ("python-pygobject" ,python-pygobject)
+       ("umockdev" ,umockdev)
+
        ;; For man pages.
        ("libxslt" ,libxslt)                       ;for 'xsltproc'
        ("libxml2" ,libxml2)                       ;for 'XML_CATALOG_FILES'
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41447; Package guix-patches. (Sat, 23 May 2020 17:59:02 GMT) Full text and rfc822 format available.

Message #17 received at 41447 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brice Waegeneire <brice <at> waegenei.re>, 41447 <at> debbugs.gnu.org
Subject: Re: [bug#41447] [PATCH 0/3] upower: Enable tests
Date: Sat, 23 May 2020 19:58:40 +0200
[Message part 1 (text/plain, inline)]
Brice Waegeneire <brice <at> waegenei.re> writes:

> Brice Waegeneire (3):
>   gnu: umockdev: Add 'gobject-introspection'.
>   gnu: umockdev: Update to 0.14.1.
>   gnu: upower: Enable tests.

LGTM.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Brice Waegeneire <brice <at> waegenei.re>:
You have taken responsibility. (Sat, 23 May 2020 19:54:01 GMT) Full text and rfc822 format available.

Notification sent to Brice Waegeneire <brice <at> waegenei.re>:
bug acknowledged by developer. (Sat, 23 May 2020 19:54:01 GMT) Full text and rfc822 format available.

Message #22 received at 41447-done <at> debbugs.gnu.org (full text, mbox):

From: Brice Waegeneire <brice <at> waegenei.re>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 41447-done <at> debbugs.gnu.org
Subject: Re: [bug#41447] [PATCH 0/3] upower: Enable tests
Date: Sat, 23 May 2020 19:53:39 +0000
On 2020-05-23 17:58, Marius Bakke wrote:
> Brice Waegeneire <brice <at> waegenei.re> writes:
> 
>> Brice Waegeneire (3):
>>   gnu: umockdev: Add 'gobject-introspection'.
>>   gnu: umockdev: Update to 0.14.1.
>>   gnu: upower: Enable tests.
> 
> LGTM.

Pushed as 6039031a1a5e1cabd380b8715334d5a8f600055f.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.