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

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

[elpa] externals/websocket 8299e57a4c 033/114: Function test improvement


From: ELPA Syncer
Subject: [elpa] externals/websocket 8299e57a4c 033/114: Function test improvements for Windows: SIGSTP
Date: Wed, 15 Feb 2023 20:58:57 -0500 (EST)

branch: externals/websocket
commit 8299e57a4cd3159f9b1e13862ff1dd569e840f59
Author: Christopher Warrington <christopher@mygcw.net>
Commit: Christopher Warrington <christopher@mygcw.net>

    Function test improvements for Windows: SIGSTP
    
    * Windows doesn't support the SIGSTP signal, so we just kill the Tornado
      process if we detect we're running on Windows.
---
 websocket-functional-test.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/websocket-functional-test.el b/websocket-functional-test.el
index 6a9481fc23..65d560b0fd 100644
--- a/websocket-functional-test.el
+++ b/websocket-functional-test.el
@@ -79,7 +79,10 @@
 (websocket-close wstest-ws)
 (assert (null (websocket-openp wstest-ws)))
 
-(stop-process wstest-server-proc)
+(if (not (eq system-type 'windows-nt))
+    ; Windows doesn't have support for the SIGSTP signal, so we'll just kill
+    ; the process.
+    (stop-process wstest-server-proc))
 (kill-process wstest-server-proc)
 
 ;; Make sure the processes are closed.  This happens asynchronously,



reply via email to

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