Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
RUN apk add \
autoconf \
automake \
+ bash \
build-base \
byacc \
cmocka-dev \
--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
--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
--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