diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-12-20 22:47:00 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-12-20 22:49:14 +0100 |
commit | 24169a21f2659e77eec49678f2ac8230dfd24d1e (patch) | |
tree | 54f88a7a6b1cb9d883cf40d956f51389cb7187bc /app-editors/emacs/emacs-29.1.9999.ebuild | |
parent | net-wireless/osmo-fl2k: drop 0.1.1-r1 (diff) | |
download | gentoo-24169a21f2659e77eec49678f2ac8230dfd24d1e.tar.gz gentoo-24169a21f2659e77eec49678f2ac8230dfd24d1e.tar.bz2 gentoo-24169a21f2659e77eec49678f2ac8230dfd24d1e.zip |
app-editors/emacs: Disable tests that use bwrap
This is more specific than excluding bytecomp-tests.el altogether.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-29.1.9999.ebuild')
-rw-r--r-- | app-editors/emacs/emacs-29.1.9999.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app-editors/emacs/emacs-29.1.9999.ebuild b/app-editors/emacs/emacs-29.1.9999.ebuild index 3edf4c2cb75b..9aff860d84f5 100644 --- a/app-editors/emacs/emacs-29.1.9999.ebuild +++ b/app-editors/emacs/emacs-29.1.9999.ebuild @@ -204,6 +204,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -424,12 +430,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el |