Desultory improvements.

Killing tasks in the error handling must be done carefully, and given this
testing session it seems better to refrain from doing it when erroring out
at COPY init time (missing column is an example of that). The approach
around that is still very much ad-hoc rather than systematic.

In passing improve the `make save` option to producing a binary image: have
the make recipe respect the CL variable. The command line options
differences were already accounted for.
This commit is contained in:
Dimitri Fontaine 2019-01-09 18:57:33 +01:00
parent 2147a1d07b
commit 1306b4c953
2 changed files with 1 additions and 2 deletions

View File

@ -165,7 +165,7 @@ test: $(PGLOADER)
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) CL=$(CL) -C test regress
save: ./src/save.lisp $(LISP_SRC)
sbcl --no-userinit --load ./src/save.lisp
$(CL) $(CL_OPTS) --load ./src/save.lisp
check-saved: save
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) CL=$(CL) -C test regress

View File

@ -79,7 +79,6 @@
#'(lambda (condition)
;; stop the other tasks and then transfer the control
(log-message :log "COPY INIT ERROR")
(lp:kill-tasks :default)
(lp:invoke-transfer-error condition)))
(on-error-stop
#'(lambda (condition)