~ruther/guix-local

34582b303719bd1f305a2a565285ee19e65a4706 — David Thompson 10 years ago dbbc248
gnu: guix: Enable container tests.

* gnu/packages/package-management.scm (guix-devel): Delete
  'disable-container-tests' build phase.
1 files changed, 1 insertions(+), 12 deletions(-)

M gnu/packages/package-management.scm
M gnu/packages/package-management.scm => gnu/packages/package-management.scm +1 -12
@@ 200,18 200,7 @@ the Nix package manager.")
                            (chmod po #o666))
                          (find-files "." "\\.po$"))

                (zero? (system* "sh" "bootstrap"))))
             (add-after
              'unpack 'disable-container-tests
              ;; XXX FIXME: These tests fail within the build container.
              (lambda _
                (substitute* "tests/syscalls.scm"
                  (("^\\(test-assert \"(clone|setns|pivot-root)\"" all)
                   (string-append "(test-skip 1)\n" all)))
                (substitute* "tests/containers.scm"
                  (("^\\(test-assert" all)
                   (string-append "(test-skip 1)\n" all)))
                #t))))))
                (zero? (system* "sh" "bootstrap"))))))))
      (native-inputs
       `(("autoconf" ,(autoconf-wrapper))
         ("automake" ,automake)