- Oct 07, 2017
-
-
Raymond Toy authored
Because we include stdio.h now, Solaris defines stdin, stdout, and stderr in a way that they can't be used to name the args to the spawn function. Hence rename these args.
-
Raymond Toy authored
[ci skip]
-
Raymond Toy authored
[ci skip]
-
Raymond Toy authored
-
- Sep 30, 2017
-
-
Raymond Toy authored
Fix #45 :Handle relative paths in `run-program` Closes #45 See merge request cmucl/cmucl!25
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
Add the tests given in issue #45.
-
Raymond Toy authored
This is basically the solution proposed by Elias Pipping with a few minor tweaks. - In `run-program`, don't merge `program` with the "path:" search-list. `spawn` will handle this. - In `spawn`, if the first call to execve fails, instead of trying "/bin/sh", use "/usr/bin/env" which will use the user's PATH if necessary to find the program.
-
- Sep 23, 2017
-
-
Raymond Toy authored
-
- Sep 16, 2017
-
-
Raymond Toy authored
-
Raymond Toy authored
Fix #44: Add docstrings for process accessors Closes #44 See merge request !24
-
Raymond Toy authored
Adds docstrings for the exported process accessors: `process-pid`, `process-exit-code`, `process-core-dumped`, `process-pty`, `process-input`, `process-output`, `process-error`, `process-status-hook`, `process-plist`.
-
Raymond Toy authored
`wait3` is removed along with alien routine and the constants.
-
Raymond Toy authored
- If `waidpid` returns 0 or -1, we should return. - Make the fprintf message a bit clearer on what's happening when we have some kind of status that we didn't handle.
-
Raymond Toy authored
Fix #41: Report proper process status Closes #41 See merge request !23
-
Raymond Toy authored
- process-alive-p should return T for continued processes - Simplify prog-status slightly by making the status code array start :signaled instead of nil. - Update prog_status with enum to specify the codes to make it clearer what they mean and to make it clearer that it matches the expectations in prog-status.
-
- Sep 09, 2017
-
-
Raymond Toy authored
The main problem is that we weren't calling wait3 with WCONTINUED so that we would be signaled when the process continues. And we also need to check that result of wait call was WCONTINUED> Replace the wait3 routine with a C routine (prog_status) so we don't have to deal with the OS-specific flags. This function basically returns what the lisp function wait3 did. Use this function in GET-PROCESSES-STATUS-CHANGES. - runprog.c: - Add prog_status - run-program.lisp: - Use prog_status instead of wait3 - issues.lisp: - Add basic test
-
- Sep 06, 2017
-
-
Raymond Toy authored
Was pointing to the rtoy-gitlab-ci branch, but we want this to be the status of the master branch.
-
Raymond Toy authored
Enable gitlab continuous integration See merge request !22
-
Raymond Toy authored
The failed test causes the pipeline to fail, as expected.
-
Raymond Toy authored
-
- Sep 03, 2017
-
-
Raymond Toy authored
While not strictly necessary, make-dist.sh uses git to determine a default lisp-implmenetation-version. We could just use -V to do that, but I think it's best to have git so that the pipeline looks as much like normal development as possible.
-
Raymond Toy authored
- Early exit (with non-zero exit code) does cause the pipeline to fail, as expected.
-
Raymond Toy authored
- Don't need to install git anymore - exit early from build script to see if that makes the test fail.
-
Raymond Toy authored
-
Raymond Toy authored
-
Raymond Toy authored
-
- Sep 02, 2017
-
-
Raymond Toy authored
Needed to update lisp/version.
-
Raymond Toy authored
-
Raymond Toy authored
The runner already has the git repo checked out at $PWD, so we're ready to go. Try to install time so build.sh will run.
-
Raymond Toy authored
-
Raymond Toy authored
- Print out the SHELL - Set prompt to include PWD - Where is `time` and why can't the shell find it?
-
Raymond Toy authored
-
Raymond Toy authored
Update snapshot to 2017-04 snapshot too.
-
Raymond Toy authored
While we're at it install make, gcc, and gcc 32-bit.
-
Raymond Toy authored
-
Raymond Toy authored
- untar the snapshot into the snapshot directory - git clone the cmucl repo
-
Raymond Toy authored
-
Raymond Toy authored
-