unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41447] [PATCH 0/3] upower: Enable tests
@ 2020-05-22  8:18 Brice Waegeneire
  2020-05-22  8:22 ` [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection' Brice Waegeneire
  2020-05-23 17:58 ` [bug#41447] [PATCH 0/3] " Marius Bakke
  0 siblings, 2 replies; 6+ messages in thread
From: Brice Waegeneire @ 2020-05-22  8:18 UTC (permalink / raw)
  To: 41447


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





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

* [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection'.
  2020-05-22  8:18 [bug#41447] [PATCH 0/3] upower: Enable tests Brice Waegeneire
@ 2020-05-22  8:22 ` Brice Waegeneire
  2020-05-22  8:22   ` [bug#41447] [PATCH 2/3] gnu: umockdev: Update to 0.14.1 Brice Waegeneire
  2020-05-22  8:22   ` [bug#41447] [PATCH 3/3] gnu: upower: Enable tests Brice Waegeneire
  2020-05-23 17:58 ` [bug#41447] [PATCH 0/3] " Marius Bakke
  1 sibling, 2 replies; 6+ messages in thread
From: Brice Waegeneire @ 2020-05-22  8:22 UTC (permalink / raw)
  To: 41447

* 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





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

* [bug#41447] [PATCH 2/3] gnu: umockdev: Update to 0.14.1.
  2020-05-22  8:22 ` [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection' Brice Waegeneire
@ 2020-05-22  8:22   ` Brice Waegeneire
  2020-05-22  8:22   ` [bug#41447] [PATCH 3/3] gnu: upower: Enable tests Brice Waegeneire
  1 sibling, 0 replies; 6+ messages in thread
From: Brice Waegeneire @ 2020-05-22  8:22 UTC (permalink / raw)
  To: 41447

* 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





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

* [bug#41447] [PATCH 3/3] gnu: upower: Enable tests.
  2020-05-22  8:22 ` [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection' Brice Waegeneire
  2020-05-22  8:22   ` [bug#41447] [PATCH 2/3] gnu: umockdev: Update to 0.14.1 Brice Waegeneire
@ 2020-05-22  8:22   ` Brice Waegeneire
  1 sibling, 0 replies; 6+ messages in thread
From: Brice Waegeneire @ 2020-05-22  8:22 UTC (permalink / raw)
  To: 41447

* 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





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

* [bug#41447] [PATCH 0/3] upower: Enable tests
  2020-05-22  8:18 [bug#41447] [PATCH 0/3] upower: Enable tests Brice Waegeneire
  2020-05-22  8:22 ` [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection' Brice Waegeneire
@ 2020-05-23 17:58 ` Marius Bakke
  2020-05-23 19:53   ` bug#41447: " Brice Waegeneire
  1 sibling, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-05-23 17:58 UTC (permalink / raw)
  To: Brice Waegeneire, 41447

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

Brice Waegeneire <brice@waegenei.re> writes:

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

LGTM.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#41447: [PATCH 0/3] upower: Enable tests
  2020-05-23 17:58 ` [bug#41447] [PATCH 0/3] " Marius Bakke
@ 2020-05-23 19:53   ` Brice Waegeneire
  0 siblings, 0 replies; 6+ messages in thread
From: Brice Waegeneire @ 2020-05-23 19:53 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41447-done

On 2020-05-23 17:58, Marius Bakke wrote:
> Brice Waegeneire <brice@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.




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

end of thread, other threads:[~2020-05-23 19:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22  8:18 [bug#41447] [PATCH 0/3] upower: Enable tests Brice Waegeneire
2020-05-22  8:22 ` [bug#41447] [PATCH 1/3] gnu: umockdev: Add 'gobject-introspection' Brice Waegeneire
2020-05-22  8:22   ` [bug#41447] [PATCH 2/3] gnu: umockdev: Update to 0.14.1 Brice Waegeneire
2020-05-22  8:22   ` [bug#41447] [PATCH 3/3] gnu: upower: Enable tests Brice Waegeneire
2020-05-23 17:58 ` [bug#41447] [PATCH 0/3] " Marius Bakke
2020-05-23 19:53   ` bug#41447: " Brice Waegeneire

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).