From cf322f150fa67c9b21d8fea2b5a5bff6d25358c9 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Thu, 8 Aug 2024 22:42:25 -0700 Subject: [PATCH] Generate output on test failure. --- docker/Dockerfile.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.build b/docker/Dockerfile.build index 7f355ed..b74aca0 100644 --- a/docker/Dockerfile.build +++ b/docker/Dockerfile.build @@ -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 \