From 415aa40e1ea043943d4126ea2d967266407ec2d5 Mon Sep 17 00:00:00 2001 From: Joe Ranieri Date: Mon, 11 Mar 2024 15:39:50 -0400 Subject: [PATCH] Use ctest --output-on-failure to avoid extraneous output --- .ci/gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/gitlab-ci.yml b/.ci/gitlab-ci.yml index 75ea757c..ec461435 100644 --- a/.ci/gitlab-ci.yml +++ b/.ci/gitlab-ci.yml @@ -130,7 +130,7 @@ build-docs: - cmake ../ -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DCPACK_DEBIAN_PACKAGE_RELEASE="$(lsb_release -sc)" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DGTIRB_STRIP_DEBUG_SYMBOLS=On -DGTIRB_RELEASE_VERSION=$RELEASE_VERSION -DGTIRB_PACKAGE_POLICY=$PACKAGE_POLICY - make -j - pip3 install -e python - - ctest -V + - ctest --output-on-failure build-ubuntu20-gcc: stage: build @@ -175,7 +175,7 @@ build-static: - cd build - cmake ../ -DGTIRB_BUILD_SHARED_LIBS=OFF -DGTIRB_PY_API=OFF - make -j - - ctest -V + - ctest --output-on-failure # ensure that we produced a .a file instead of a .so - '[ -e lib/libgtirb.a ]' - '[ ! -e lib/libgtirb.so ]' @@ -204,7 +204,7 @@ coverage: - cmake -DENABLE_CODE_COVERAGE=ON .. - cmake --build . - pip3 install -e python - - ctest -V + - ctest --output-on-failure - gcovr --exclude=googletest-src --exclude=doc --exclude=..*/proto --exclude=..*/test --root .. - cd python - coverage report --omit=gtirb/proto/* --show-missing