emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/datetime fed5a55a72 034/147: Put stderr output of the test


From: ELPA Syncer
Subject: [nongnu] elpa/datetime fed5a55a72 034/147: Put stderr output of the testing program to a separate buffer, where it can be ignored.
Date: Fri, 31 Jan 2025 06:59:59 -0500 (EST)

branch: elpa/datetime
commit fed5a55a723c675196f34da302dee44853fcc5d1
Author: Paul Pogonyshev <pogonyshev@gmail.com>
Commit: Paul Pogonyshev <pogonyshev@gmail.com>

    Put stderr output of the testing program to a separate buffer, where it can 
be ignored.
---
 test/format.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/format.el b/test/format.el
index b2c7a07623..341df7d19d 100644
--- a/test/format.el
+++ b/test/format.el
@@ -45,7 +45,8 @@
     (setq times (list times)))
   (unless (process-live-p datetime--test-java-formatting-process)
     (let ((default-directory datetime--test-directory))
-      (setq datetime--test-java-formatting-process (start-process 
"java-formatter" "java-formatter" "java" "FormatTimestamp"))))
+      (setq datetime--test-java-formatting-process (make-process :name 
"java-formatter" :buffer "java-formatter" :stderr "java-formatter/stderr"
+                                                                 :command 
'("java" "FormatTimestamp")))))
   (let* ((marker        (process-mark datetime--test-java-formatting-process))
          (position      (marker-position marker))
          (num-times     (length times))



reply via email to

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