branch: externals/websocket
commit 8299e57a4cd3159f9b1e13862ff1dd569e840f59
Author: Christopher Warrington <[email protected]>
Commit: Christopher Warrington <[email protected]>
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,