From f7b7ecc4df7108da31625a3630cbbbdbec3abbd7 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 12 Mar 2021 08:41:03 -0800 Subject: [PATCH] Skip recent undo tests in batch mode for now * test/lisp/simple-tests.el (simple-tests--undo-in-region): Split into separate test. Skip in batch mode for now. (simple-tests--undo-equiv-table): Skip in batch mode for now. --- test/lisp/simple-tests.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el index 1819775bda5..8fa8295765b 100644 --- a/test/lisp/simple-tests.el +++ b/test/lisp/simple-tests.el @@ -465,8 +465,11 @@ See bug#35036." (simple-tests--exec '(backward-char undo-redo undo-redo)) (should (equal (buffer-string) "abc")) (simple-tests--exec '(backward-char undo-redo undo-redo)) - (should (equal (buffer-string) "abcde"))) + (should (equal (buffer-string) "abcde")))) + +(ert-deftest simple-tests--undo-in-region () ;; Test undo/redo in region. + (skip-unless (not noninteractive)) (with-temp-buffer (buffer-enable-undo) (dolist (x '("a" "b" "c" "d" "e")) @@ -503,6 +506,7 @@ See bug#35036." lst) (ert-deftest simple-tests--undo-equiv-table () + (skip-unless (not noninteractive)) (with-temp-buffer (buffer-enable-undo) (let ((ul-hash-table (make-hash-table :test #'equal))) -- 2.39.5