Add coverage_e2e, which runs e2e, and regenerate a global coverage report
This coverage is probably more useful than the other one, because it’s not really reasonable to try to cover everything with simple units test (e.g. on network code etc). However, we should strive to have 100% coverage with our e2e tests.
This commit is contained in:
1 parent
2922c68e83
commit
daa7ea04a4
2 files changed
+6
-1
No files matched your search
+2
-1
@@ -85,10 +85,11 @@ build:rpm:
|
||||
- make biboumi -j$(nproc)
|
||||
- make check
|
||||
- make coverage
|
||||
- mkdir tests_outputs && pushd tests_outputs && make e2e -j$(nproc) -C .. && popd
|
||||
- mkdir tests_outputs && pushd tests_outputs && make coverage_e2e -j$(nproc) -C .. && popd
|
||||
artifacts:
|
||||
paths:
|
||||
- build/coverage/
|
||||
- build/coverage_e2e/
|
||||
- build/tests_outputs/
|
||||
when: always
|
||||
|
||||
|
||||
@@ -232,6 +232,10 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
test_suite
|
||||
coverage
|
||||
)
|
||||
SETUP_TARGET_FOR_COVERAGE(coverage_e2e
|
||||
make
|
||||
coverage_e2e
|
||||
e2e)
|
||||
endif()
|
||||
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user