[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic e1941d0773 106/333: Easy mechanism to disable no
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic e1941d0773 106/333: Easy mechanism to disable noisy fails. |
Date: |
Tue, 27 Feb 2024 13:00:13 -0500 (EST) |
branch: externals/lentic
commit e1941d0773367ed290661ca5c3c8093d00f05c22
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Easy mechanism to disable noisy fails.
This cute diff mechanism auto runs even if for expected-fail buffers
which is irritating.
---
test/linked-buffer-test.el | 69 ++++++++++++++++++++++++----------------------
1 file changed, 36 insertions(+), 33 deletions(-)
diff --git a/test/linked-buffer-test.el b/test/linked-buffer-test.el
index bd50e9e11d..cf19bb33ec 100644
--- a/test/linked-buffer-test.el
+++ b/test/linked-buffer-test.el
@@ -20,39 +20,42 @@
(defun linked-buffer-test-equal-loudly (a b)
"Actually, this just tests equality and shouts if not."
- (if (string= a b)
- t
- (message "Results:\n%s\n:Complete\nShouldbe:\n%s\nComplete:"
cloned-results cloned-file)
- (let* ((a-buffer
- (generate-new-buffer "a"))
- (b-buffer
- (generate-new-buffer "b"))
- (a-file
- (make-temp-file
- (buffer-name a-buffer)))
- (b-file
- (make-temp-file
- (buffer-name b-buffer))))
- (with-current-buffer
- a-buffer
- (insert a)
- (write-file a-file))
- (with-current-buffer
- b-buffer
- (insert b)
- (write-file b-file))
- (message "diff:%senddiff:"
- (with-temp-buffer
- (call-process
- "diff"
- nil
- (current-buffer)
- nil
- "-c"
- a-file
- b-file)
- (buffer-string))))
- nil))
+ ;; change this to t to disable noisy printout
+ (if t
+ (string= a b)
+ (if (string= a b)
+ t
+ (message "Results:\n%s\n:Complete\nShouldbe:\n%s\nComplete:"
cloned-results cloned-file)
+ (let* ((a-buffer
+ (generate-new-buffer "a"))
+ (b-buffer
+ (generate-new-buffer "b"))
+ (a-file
+ (make-temp-file
+ (buffer-name a-buffer)))
+ (b-file
+ (make-temp-file
+ (buffer-name b-buffer))))
+ (with-current-buffer
+ a-buffer
+ (insert a)
+ (write-file a-file))
+ (with-current-buffer
+ b-buffer
+ (insert b)
+ (write-file b-file))
+ (message "diff:%senddiff:"
+ (with-temp-buffer
+ (call-process
+ "diff"
+ nil
+ (current-buffer)
+ nil
+ "-c"
+ a-file
+ b-file)
+ (buffer-string))))
+ nil)))
(defun linked-buffer-test-clone-equal (init file cloned-file)
(let ((cloned-file
- [elpa] externals/lentic 1dad92f20a 095/333: Switch to exact-subtract., (continued)
- [elpa] externals/lentic 1dad92f20a 095/333: Switch to exact-subtract., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e0840dbfe6 082/333: Stop location now calculated from before functions., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 6ed73a2ef5 088/333: Add string transform function., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 6c5fabb400 091/333: dev options added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 03ed3f4da2 119/333: Force loading of m-buffer on opening., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 582d4d72b3 125/333: Search and Replace to lentic., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a00f92e432 133/333: Refactor out a variable., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a88717f0c4 102/333: Louder output for comments., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic da6ab1268f 104/333: Change locations now use markers., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 2dd5fcd6b3 105/333: Added let like macro to auto nil markers., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e1941d0773 106/333: Easy mechanism to disable noisy fails.,
ELPA Syncer <=
- [elpa] externals/lentic 34d05cb7f9 108/333: Now uses random face., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic cebd7a744d 111/333: Add face as well as font-lock-face, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bb986c0676 116/333: New test for empty line bug., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 772186d38f 122/333: Merge branch 'feature/incremental-blocks-update', ELPA Syncer, 2024/02/27
- [elpa] externals/lentic fce88ba411 123/333: Added marmalade for noflet., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 61d00b8ace 124/333: Files renamed to lentic., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 613556e708 127/333: Re-added .travis.yml after name change., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 123ef5f3f0 129/333: Documentation updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d241dcc5be 130/333: Travis Versions Removed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 750ee11893 132/333: m-buffer version bump., ELPA Syncer, 2024/02/27