Skip to content

Commit

Permalink
Generate output on test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Aug 9, 2024
1 parent 167ab15 commit cf322f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ ARG BUILD_PKGS="cmake make gcc libc6-dev openssl"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends ${BUILD_PKGS}
WORKDIR /src
RUN --mount=type=bind,target=.,rw cmake -B build && make -C build all test install
RUN --mount=type=bind,target=.,rw cmake -B build && \
make -C build CTEST_OUTPUT_ON_FAILURE=1 all test install
FROM ${BASE_IMAGE} AS clean
COPY --from=build /usr/local/lib/libg722.* /usr/local/lib/
COPY --from=build --exclude=g722_common.h --exclude=g722_private.h \
Expand Down

0 comments on commit cf322f1

Please sign in to comment.