summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@gentoo.org>2024-11-21 16:24:07 +0100
committerMats Lidell <matsl@gentoo.org>2024-11-21 16:26:50 +0100
commit0b9876a6741959d319bca158db3935baa9a556c5 (patch)
treeb14f4fb0ff44e8d6c31cf675342b1274b7c20682 /app-editors/xemacs
parentsys-devel/kgcc64: Stabilize 13.3.1_p20241115 hppa, #944190 (diff)
downloadgentoo-0b9876a6741959d319bca158db3935baa9a556c5.tar.gz
gentoo-0b9876a6741959d319bca158db3935baa9a556c5.tar.bz2
gentoo-0b9876a6741959d319bca158db3935baa9a556c5.zip
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@gentoo.org>
Diffstat (limited to 'app-editors/xemacs')
-rw-r--r--app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch12
-rw-r--r--app-editors/xemacs/xemacs-21.5.35-r5.ebuild1
-rw-r--r--app-editors/xemacs/xemacs-21.5.9999.ebuild1
3 files changed, 14 insertions, 0 deletions
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