guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leo Famulari
Subject: bug#26211: [PATCH] gnu: networkmanager-qt: Disable a failing test.
Date: Tue, 21 Mar 2017 16:24:53 -0400
User-agent: Mutt/1.8.0 (2017-02-23)

On Tue, Mar 21, 2017 at 08:59:29PM +0100, Hartmut Goebel wrote:
> 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))

In (gnu packages gnome), there are some packages where we work around
this problem with (setenv "DBUS_FATAL_WARNINGS" "0").

If we used that instead, do you know if the test would still be able to
check some things for us? Or does it just disable the test in another
way?

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]