aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2021-03-12 08:41:03 -0800
committerGlenn Morris2021-03-12 08:41:03 -0800
commitf7b7ecc4df7108da31625a3630cbbbdbec3abbd7 (patch)
treeb928ebf5df9df43b08ba3f55d033868b1ec2c841
parentd1a7d16f8e1a42d6e6edc0621e29b38f92e9fc2e (diff)
downloademacs-f7b7ecc4df7108da31625a3630cbbbdbec3abbd7.tar.gz
emacs-f7b7ecc4df7108da31625a3630cbbbdbec3abbd7.zip
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.
-rw-r--r--test/lisp/simple-tests.el6
1 files changed, 5 insertions, 1 deletions
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."
465 (simple-tests--exec '(backward-char undo-redo undo-redo)) 465 (simple-tests--exec '(backward-char undo-redo undo-redo))
466 (should (equal (buffer-string) "abc")) 466 (should (equal (buffer-string) "abc"))
467 (simple-tests--exec '(backward-char undo-redo undo-redo)) 467 (simple-tests--exec '(backward-char undo-redo undo-redo))
468 (should (equal (buffer-string) "abcde"))) 468 (should (equal (buffer-string) "abcde"))))
469
470(ert-deftest simple-tests--undo-in-region ()
469 ;; Test undo/redo in region. 471 ;; Test undo/redo in region.
472 (skip-unless (not noninteractive))
470 (with-temp-buffer 473 (with-temp-buffer
471 (buffer-enable-undo) 474 (buffer-enable-undo)
472 (dolist (x '("a" "b" "c" "d" "e")) 475 (dolist (x '("a" "b" "c" "d" "e"))
@@ -503,6 +506,7 @@ See bug#35036."
503 lst) 506 lst)
504 507
505(ert-deftest simple-tests--undo-equiv-table () 508(ert-deftest simple-tests--undo-equiv-table ()
509 (skip-unless (not noninteractive))
506 (with-temp-buffer 510 (with-temp-buffer
507 (buffer-enable-undo) 511 (buffer-enable-undo)
508 (let ((ul-hash-table (make-hash-table :test #'equal))) 512 (let ((ul-hash-table (make-hash-table :test #'equal)))