mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-23 18:14:07 +08:00
share/containers/: trap(1) to see the cmocka logs
Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com> Cc: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
e59a39663d
commit
d13844408c
@ -5,6 +5,7 @@ FROM "${OS_IMAGE}" AS build
|
||||
RUN apk add \
|
||||
autoconf \
|
||||
automake \
|
||||
bash \
|
||||
build-base \
|
||||
byacc \
|
||||
cmocka-dev \
|
||||
@ -27,7 +28,7 @@ RUN ./autogen.sh \
|
||||
--with-yescrypt
|
||||
RUN make -kj4 || true
|
||||
RUN make
|
||||
RUN make check
|
||||
RUN bash -c "trap 'cat <tests/unit/test-suite.log >&2' ERR; make check;"
|
||||
RUN make install
|
||||
|
||||
FROM scratch AS export
|
||||
|
@ -25,7 +25,7 @@ RUN ./autogen.sh \
|
||||
--with-yescrypt
|
||||
RUN make -kj4 || true
|
||||
RUN make
|
||||
RUN make check
|
||||
RUN bash -c "trap 'cat <tests/unit/test-suite.log >&2' ERR; make check;"
|
||||
RUN make install
|
||||
|
||||
FROM scratch AS export
|
||||
|
@ -27,7 +27,7 @@ RUN ./autogen.sh \
|
||||
--enable-logind=no
|
||||
RUN make -kj4 || true
|
||||
RUN make
|
||||
RUN make check
|
||||
RUN bash -c "trap 'cat <tests/unit/test-suite.log >&2' ERR; make check;"
|
||||
RUN make install
|
||||
|
||||
FROM scratch AS export
|
||||
|
Loading…
Reference in New Issue
Block a user