mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 09:13:33 +08: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