summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-06-21 22:27:37 +0200
committerUlrich Müller <ulm@gentoo.org>2022-06-21 22:32:51 +0200
commita4044d1f67a0038493894d9f68208fa457fa900d (patch)
tree9e6e775c10dcc0941191af2d6f5e74d456310311 /app-emacs
parentx11-wm/qtile: Stabilize 0.21.0-r1 amd64, #850289 (diff)
downloadgentoo-a4044d1f67a0038493894d9f68208fa457fa900d.tar.gz
gentoo-a4044d1f67a0038493894d9f68208fa457fa900d.tar.bz2
gentoo-a4044d1f67a0038493894d9f68208fa457fa900d.zip
app-emacs/compat: Don't die when the installed Emacs doesn't support tests
There's no perfect solution here, but we don't want to override the user's choice of Emacs' USE flags just for running tests. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/compat/compat-28.1.1.3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emacs/compat/compat-28.1.1.3.ebuild b/app-emacs/compat/compat-28.1.1.3.ebuild
index 0f484b68b268..8a61c3a356a2 100644
--- a/app-emacs/compat/compat-28.1.1.3.ebuild
+++ b/app-emacs/compat/compat-28.1.1.3.ebuild
@@ -34,9 +34,9 @@ src_test() {
done <<-EOF
Your current Emacs version does not support native JSON parsing,
which is required for running tests of ${CATEGORY}/${PN}.
- Use "eselect emacs" to select an Emacs version with such feature.
+ Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs"
+ to select that version.
EOF
- die "Unable to run tests, missing \">=app-editors/emacs-27.2[json]\"."
else
emake test
fi