Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit a639b62

Browse files
authored
Optimize coverage CI (eProsima#59)
1 parent ff9f986 commit a639b62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/linux/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ include(ExternalProject)
2020
include(CheckCXXCompilerFlag)
2121
include(CheckCCompilerFlag)
2222

23-
set(_c_flags "-fwrapv -fprofile-arcs -ftest-coverage")
24-
set(_cxx_flags "-fwrapv -fprofile-arcs -ftest-coverage")
25-
set(_exe_linker_flags "-fprofile-arcs -ftest-coverage")
26-
set(_shared_linker_flags "-fprofile-arcs -ftest-coverage")
23+
set(_c_flags "-fwrapv -fprofile-arcs -ftest-coverage --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
24+
set(_cxx_flags "-fwrapv -fprofile-arcs -ftest-coverage --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
25+
set(_exe_linker_flags "-fprofile-arcs -ftest-coverage --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
26+
set(_shared_linker_flags "-fprofile-arcs -ftest-coverage --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
2727

2828
check_cxx_compiler_flag("-fprofile-abs-path" _have_cxx_fprofile_abs_path)
2929
if(_have_cxx_fprofile_abs_path)

0 commit comments

Comments
 (0)