public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mats Lidell" <matsl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/files/, app-editors/xemacs/
Date: Thu, 21 Nov 2024 15:27:08 +0000 (UTC)	[thread overview]
Message-ID: <1732202810.0b9876a6741959d319bca158db3935baa9a556c5.matsl@gentoo> (raw)

commit:     0b9876a6741959d319bca158db3935baa9a556c5
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 15:24:07 2024 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 15:26:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9876a6

app-editors/xemacs: remove test causing QA notice

Test for calling unknown_command causes QA notice. Resolve
by removing the test.

Closes: https://bugs.gentoo.org/944219
Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>

 .../xemacs/files/xemacs-21.5.35-unknown-command-test.patch   | 12 ++++++++++++
 app-editors/xemacs/xemacs-21.5.35-r5.ebuild                  |  1 +
 app-editors/xemacs/xemacs-21.5.9999.ebuild                   |  1 +
 3 files changed, 14 insertions(+)

diff --git a/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch b/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch
new file mode 100644
index 000000000000..4fb7d4c58a44
--- /dev/null
+++ b/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch
@@ -0,0 +1,12 @@
+diff -r fd166650770a tests/automated/process-tests.el
+--- a/tests/automated/process-tests.el	Sat May 13 15:18:19 2023 +0100
++++ b/tests/automated/process-tests.el	Thu Nov 21 15:24:34 2024 +0100
+@@ -52,7 +52,7 @@
+     (goto-char (point-min))
+     (Assert (looking-at "foo"))):
+ 
+-  (Assert (= 127 (shell-command "unknown_command")))
++  ;;(Assert (= 127 (shell-command "unknown_command")))
+   (Assert (= 2 (shell-command "exit 2")))
+   (Assert (equal "(Shell command failed with code 2 and no output)" (message-displayed-p t)))
+   

diff --git a/app-editors/xemacs/xemacs-21.5.35-r5.ebuild b/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
index b96d774099ab..4b5fc14d88d7 100644
--- a/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
@@ -70,6 +70,7 @@ src_prepare() {
 	eapply "${FILESDIR}/${P}-va_args.patch"
 	eapply "${FILESDIR}/${P}-linker-flags.patch"
 	eapply "${WORKDIR}/${P}-ootags-boolint.patch"
+	eapply "${FILESDIR}/${P}-unknown-command-test.patch"
 
 	eapply_user
 

diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild b/app-editors/xemacs/xemacs-21.5.9999.ebuild
index 43b49b662f80..2d5ac33dd3be 100644
--- a/app-editors/xemacs/xemacs-21.5.9999.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild
@@ -65,6 +65,7 @@ src_prepare() {
 	find "${S}"/lisp -name '*.elc' -exec rm {} \; || die
 	eapply "${FILESDIR}/${PN}-21.5.35-mule-tests.patch"
 	eapply "${FILESDIR}/${PN}-21.5.35-configure-libc-version.patch"
+	eapply "${FILESDIR}/${PN}-21.5.35-unknown-command-test.patch"
 
 	eapply_user
 


             reply	other threads:[~2024-11-21 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 15:27 Mats Lidell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-12 11:08 [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/files/, app-editors/xemacs/ Mats Lidell
2023-06-18 20:35 Mats Lidell
2022-07-06 20:27 Mats Lidell
2022-06-27 21:40 Mats Lidell
2021-01-16 16:13 Mats Lidell
2020-08-31 18:30 Mats Lidell
2020-04-19 20:24 Mats Lidell
2020-03-07 12:52 Mats Lidell
2017-12-28 16:15 Mats Lidell
2017-04-17 20:12 Mats Lidell
2017-04-03 20:56 Mats Lidell
2015-10-08 12:03 Mats Lidell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732202810.0b9876a6741959d319bca158db3935baa9a556c5.matsl@gentoo \
    --to=matsl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox