Skip to content

Commit dfd1ada

Browse files
committed
Add ctest output-on-failure and remove redundant build command for code coverage
1 parent f4d2156 commit dfd1ada

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build-linux:
2424
- mkdir -p build && cd build
2525
- cmake .. $CMAKE_ARGS -DIDICMAKE_PLATFORM_CONFIG=../platform-config.$TYPE.cmake
2626
- cmake --build . -j 8
27-
- ctest -C Debug --output-junit ctest.xml
27+
- ctest -C Debug --output-on-failure --output-junit ctest.xml
2828
interruptible: true
2929
artifacts:
3030
when: always
@@ -52,7 +52,7 @@ build-windows:
5252
- cd build
5353
- cmake .. $CMAKE_ARGS -DIDICMAKE_PLATFORM_CONFIG="../platform-config.$TYPE.cmake"
5454
- cmake --build . -j 8
55-
- ctest -C Debug --output-junit ctest.xml
55+
- ctest -C Debug --output-on-failure --output-junit ctest.xml
5656
interruptible: true
5757
artifacts:
5858
when: always

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ Enable coverage by passing `-DCODE_COVERAGE=ON` at configure time:
113113
```sh
114114
$ cd build
115115
$ cmake .. -DCODE_COVERAGE=ON
116-
$ cmake --build .
117116
```
118117

119118
Then run one of the coverage build targets:

0 commit comments

Comments
 (0)