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:
Daniel Agar
2017-01-09 16:08:40 -05:00
committed by GitHub
parent 768485c083
commit dc787830b5
4 changed files with 6 additions and 13 deletions

View File

@@ -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