emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 95dce77: Conditionalize result of a bytecomp test


From: Glenn Morris
Subject: [Emacs-diffs] master 95dce77: Conditionalize result of a bytecomp test
Date: Tue, 9 Jul 2019 06:27:41 -0400 (EDT)

branch: master
commit 95dce77c5ecb46cff62c2bc45c2a239872b5f38c
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Conditionalize result of a bytecomp test
    
    * test/lisp/emacs-lisp/bytecomp-tests.el
    (bytecomp-test--switch-duplicates):
    Apparently the result depends on byte-compile-cond-use-jump-table.
---
 test/lisp/emacs-lisp/bytecomp-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el 
b/test/lisp/emacs-lisp/bytecomp-tests.el
index 5bd3689..94ecdc5 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -686,6 +686,7 @@ literals (Bug#20852)."
 
 (ert-deftest bytecomp-test--switch-duplicates ()
   "Check that duplicates in switches are eliminated correctly (bug#35770)."
+  :expected-result (if byte-compile-cond-use-jump-table :passed :failed)
   (dolist (params
            '(((lambda (x)
                 (cond ((eq x 'a) 111)



reply via email to

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