Adding test-r7rs
This commit is contained in:
parent
c2fcf4acd8
commit
7b159a2ebf
|
@ -24,6 +24,6 @@ RUN make PREFIX=/opt/compile-r7rs build
|
|||
RUN make PREFIX=/opt/compile-r7rs install
|
||||
|
||||
FROM schemers/chibi
|
||||
RUN apt-get update && apt-get install -y docker.io podman make
|
||||
RUN apt-get update && apt-get install -y podman-docker make
|
||||
COPY --from=build /opt/compile-r7rs /opt/compile-r7rs
|
||||
ENV PATH=/opt/compile-r7rs/bin:${PATH}
|
||||
|
|
|
@ -277,9 +277,15 @@
|
|||
(when (file-exists? build-out) (delete-file build-out))
|
||||
(when (file-exists? run-out) (delete-file run-out))
|
||||
(when (not (= (system docker-build-cmd) 0))
|
||||
(error (string-append "Docker container build failed, see output in "
|
||||
docker-build-out)
|
||||
docker-build-cmd))
|
||||
(display "Docker container build failed")
|
||||
(newline)
|
||||
(display "Command: ")
|
||||
(display docker-build-cmd)
|
||||
(newline)
|
||||
(display "Output: ")
|
||||
(newline)
|
||||
(cat docker-build-out)
|
||||
(newline))
|
||||
(let* ((build-exit-code (number->string (system build-cmd)))
|
||||
(run-exit-code (number->string (system run-cmd)))
|
||||
(testname (if (and (string? run-exit-code)
|
||||
|
|
Loading…
Reference in New Issue