Now ECL passes all these tests... but since I upgraded ECL to the latest from git (branch develop), test-run-program-unix has started failing with: "The function :STOPPED is undefined." in the terminate-process tests. I suspect an ECL bug. The test passes with ECL 16.1.3 (release tarball) from NixOS or 15.3.7 (also release I suppose) from Ubuntu.
You are right. Sloppy coding. I will fix it today (right now I have some other ECL works pending). Here is a diff, which should fix the problem:
-- CUT HERE-- diff --git a/src/lsp/process.lsp b/src/lsp/process.lsp index b608c374..f8ed9721 100644 --- a/src/lsp/process.lsp +++ b/src/lsp/process.lsp @@ -22,7 +22,7 @@
(defun external-process-status (external-process) (let ((status (external-process-%status external-process))) - (if (member status (:stopped :resumed :running)) + (if (member status '(:stopped :resumed :running)) (ext:external-process-wait external-process nil) (values status (external-process-%code external-process))))) -- CUT HERE --
Thanks for the report.