GNU bug report logs - #26211
[PATCH] gnu: networkmanager-qt: Disable a failing test.

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Tue, 21 Mar 2017 20:00:02 UTC

Severity: normal

Tags: fixed, moreinfo, patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


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

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: networkmanager-qt: Disable a failing test.
Date: Tue, 21 Mar 2017 20:59:29 +0100
The error-message was: "D-Bus library appears to be incorrectly set up;
failed to read machine uuid: Failed to open '/etc/machine-id':
No such file or directory".

* gnu/packages/kde-frameworks.scm (networkmanager-qt):
  [disable-failing-tests] New phase.
---
 gnu/packages/kde-frameworks.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 5b11f12..01bbe29 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1113,6 +1113,13 @@ messages.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'disable-failing-tests
+           (lambda* _
+             ;; Disable test requiring a dbus machine-id:
+             (substitute* "autotests/CMakeLists.txt"
+               (("^ecm_add_test\\(activeconnectiontest\\.cpp .*")
+                ""))
+             #t))
          (replace 'check
            (lambda _
              (setenv "DBUS_FATAL_WARNINGS" "0")
-- 
2.7.4





This bug report was last modified 7 years and 249 days ago.

Previous Next


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