From 76191838b9013d4b1962970e650062c8f7d70ddf Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 20 Mar 2024 10:00:08 +0100 Subject: [PATCH] Update TEST_BINARIES filter to ignore everything but full paths --- ci/docker/deploy.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/docker/deploy.Dockerfile b/ci/docker/deploy.Dockerfile index 78ba89dd06..accc49cce7 100644 --- a/ci/docker/deploy.Dockerfile +++ b/ci/docker/deploy.Dockerfile @@ -38,7 +38,7 @@ RUN pushd ${SOURCE}/miniapp && \ # Prune and bundle binaries RUN mkdir ${BUILD}-tmp && cd ${BUILD} && \ - export TEST_BINARIES=`PATH=${SOURCE}/ci:$PATH ctest --show-only=json-v1 | jq '.tests | map(.command | .[] | select(contains("check-threads") | not)) | .[]' | tr -d \"` && \ + export TEST_BINARIES=`PATH=${SOURCE}/ci:$PATH ctest --show-only=json-v1 | jq --raw-output '.tests | map(.command | .[] | select(startswith("/"))) | .[]' | tr -d \"` && \ LIBASAN=$(find /usr/lib -name libclang_rt.asan-x86_64.so) && \ if [[ -n "${LIBASAN}" ]]; then export LD_LIBRARY_PATH=$(dirname ${LIBASAN}):${LD_LIBRARY_PATH}; fi && \ echo "Binary sizes:" && \