From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB2FC158015 for ; Fri, 22 Dec 2023 09:35:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 113A62BC01C; Fri, 22 Dec 2023 09:35:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF03D2BC01C for ; Fri, 22 Dec 2023 09:35:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC85133FE60 for ; Fri, 22 Dec 2023 09:35:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5023AACA for ; Fri, 22 Dec 2023 09:35:30 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1703237720.046613aa2cf147cc32d4b8a4ceb5cd76aa61d9ee.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-28.2-r10.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 046613aa2cf147cc32d4b8a4ceb5cd76aa61d9ee X-VCS-Branch: master Date: Fri, 22 Dec 2023 09:35:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8241cb0f-805f-4024-8f45-604b26656ea1 X-Archives-Hash: c1e2f145c7a36a32a5f1c3ef36c8fc3e commit: 046613aa2cf147cc32d4b8a4ceb5cd76aa61d9ee Author: Ulrich Müller gentoo org> AuthorDate: Fri Dec 22 09:34:21 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Dec 22 09:35:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=046613aa app-editors/emacs: Backport test fixes to slot 28 Also disable two more tests. Signed-off-by: Ulrich Müller gentoo.org> app-editors/emacs/emacs-28.2-r10.ebuild | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/app-editors/emacs/emacs-28.2-r10.ebuild b/app-editors/emacs/emacs-28.2-r10.ebuild index ac8efd18ae69..4792beb5373c 100644 --- a/app-editors/emacs/emacs-28.2-r10.ebuild +++ b/app-editors/emacs/emacs-28.2-r10.ebuild @@ -174,6 +174,12 @@ src_prepare() { # Fix filename reference in redirected man page sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || 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 } @@ -368,12 +374,17 @@ 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: some copyright years differ + %lisp/emacs-lisp/copyright-tests.el + + # Reason: quoting issues (fixed in Emacs 29) + %lib-src/emacsclient-tests.el ) + use threads || exclude_tests+=( + %src/emacs-module-tests.el + %src/keyboard-tests.el + %src/thread-tests.el + ) # See test/README for possible options emake \