mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
circleci run tests under code coverage (#6273)
* use regular optimization levels for the code coverage build. * the mixer test fails intermittently when built without optimization
This commit is contained in:
@@ -796,7 +796,7 @@ function(px4_add_common_flags)
|
||||
|
||||
# code coverage
|
||||
if ($ENV{PX4_CODE_COVERAGE} MATCHES "1")
|
||||
set(max_optimization -O0)
|
||||
#set(max_optimization -O0)
|
||||
endif()
|
||||
|
||||
set(c_warnings
|
||||
|
||||
Reference in New Issue
Block a user