unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: network-manager: Disable failing tests.
@ 2016-03-07 15:32 Andy Wingo
  2016-03-07 15:32 ` [PATCH 2/2] gnu: network-manager: Update to 1.0.10 Andy Wingo
  2016-03-07 16:30 ` [PATCH 1/2] gnu: network-manager: Disable failing tests Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Wingo @ 2016-03-07 15:32 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gnome.scm (network-manager): Disable tests that don't
  work in a GuixSD buildroot.
---
 gnu/packages/gnome.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d68633e..155d7ad 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4194,6 +4194,19 @@ users.")
                (string-append "--with-dhclient=" dhclient)))
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'pre-configure
+           (lambda _
+             ;; These tests try to test aspects of network-manager's
+             ;; functionality within restricted containers, but they don't
+             ;; cope with being already in the Guix build jail as that jail
+             ;; lacks some features that they would like to proxy over (like
+             ;; a /sys mount).
+             (substitute* '("src/platform/Makefile.in")
+               (("SUBDIRS = tests") ""))
+             (substitute* '("src/tests/Makefile.in")
+               (("\ttest-route-manager-linux") "\t")
+               (("\ttest-route-manager-fake") "\t"))
+             #t))
          (add-before 'check 'pre-check
            (lambda _
              ;; For the missing /etc/machine-id.
-- 
2.6.3

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

end of thread, other threads:[~2016-03-07 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 15:32 [PATCH 1/2] gnu: network-manager: Disable failing tests Andy Wingo
2016-03-07 15:32 ` [PATCH 2/2] gnu: network-manager: Update to 1.0.10 Andy Wingo
2016-03-07 16:31   ` Ludovic Courtès
2016-03-07 16:30 ` [PATCH 1/2] gnu: network-manager: Disable failing tests Ludovic Courtès

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