Skip to content

Commit

Permalink
Use ctest --output-on-failure to avoid extraneous output
Browse files Browse the repository at this point in the history
  • Loading branch information
jranieri-grammatech committed Mar 26, 2024
1 parent 20ed763 commit 415aa40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ]'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 415aa40

Please sign in to comment.