emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2800513 2/2: cperl-mode: Skip a test for older Emacsen (preparing


From: Stefan Kangas
Subject: master 2800513 2/2: cperl-mode: Skip a test for older Emacsen (preparing for ELPA)
Date: Mon, 2 Nov 2020 18:12:43 -0500 (EST)

branch: master
commit 2800513af5f5bc0f16879ce6ab250f0f63f7bb6e
Author: Harald Jörg <haj@posteo.de>
Commit: Stefan Kangas <stefan@marxist.se>

    cperl-mode: Skip a test for older Emacsen (preparing for ELPA)
    
    * test/lisp/progmodes/cperl-mode-tests.el (cperl-bug37127):
    Skip this test for older Emacsen.  The bug has been fixed
    in Emacs, but outside of CPerl mode, and therefore will not
    be available for older versions via ELPA.
---
 test/lisp/progmodes/cperl-mode-tests.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/lisp/progmodes/cperl-mode-tests.el 
b/test/lisp/progmodes/cperl-mode-tests.el
index 9a7b5e4..dcde3b6 100644
--- a/test/lisp/progmodes/cperl-mode-tests.el
+++ b/test/lisp/progmodes/cperl-mode-tests.el
@@ -224,6 +224,10 @@ point in the distant past, and is still broken in 
perl-mode. "
   "Verify that closing a paren in a regex goes without a message.
 Also check that the message is issued if the regex terminator is
 missing."
+  ;; The actual fix for this bug is in simple.el, which is not
+  ;; backported to older versions of Emacs.  Therefore we skip this
+  ;; test if we're running Emacs 27 or older.
+  (skip-unless (< 27 emacs-major-version))
   ;; Part one: Regex is ok, no messages
   (ert-with-message-capture collected-messages
     (with-temp-buffer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]