Making tests work
This commit is contained in:
parent
8b81d265ea
commit
e49cd2eff3
|
|
@ -32,7 +32,7 @@ pipeline {
|
|||
DOCKERIMG="${implementation}:head"
|
||||
}
|
||||
sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f dockerfiles/Dockerfile.snow-chibi-install-test ."
|
||||
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} clean install-jenkins && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} timeout 120 printf \"\\n\" | compile-r7rs -o hello hello.scm && timeout 120 printf \"\\n\" | ./hello\""
|
||||
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} clean install-jenkins && cp tests/hello.scm /tmp/ && cd /tmp && SCHEME=${implementation} printf \"\\n\" | timeout 120 compile-r7rs -o hello hello.scm && printf \"\\n\" | timeout 120 ./hello\""
|
||||
}
|
||||
}
|
||||
tests.each { test ->
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
ARG SCHEME=chibi
|
||||
ARG IMAGE=chibi:head
|
||||
FROM schemers/${IMAGE}
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install \
|
||||
--no-install-suggests \
|
||||
--no-install-recommends \
|
||||
-y \
|
||||
build-essential \
|
||||
make \
|
||||
libffi-dev \
|
||||
|
|
|
|||
Loading…
Reference in New Issue