Commit daa7ea04 authored by louiz’'s avatar louiz’ 🐗

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.
parent 2922c68e
......@@ -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()
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment