mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-16 21:51:43 -05:00
Build binaries before running tests when calculating coverage
This commit is contained in:
@@ -22,7 +22,7 @@ if(ENABLE_COVERAGE)
|
||||
include(ProcessorCount)
|
||||
ProcessorCount(PROCESSOR_COUNT)
|
||||
|
||||
set(command ctest -V -j ${PROCESSOR_COUNT})
|
||||
set(command cmake --build . --target all && ctest -V -j ${PROCESSOR_COUNT})
|
||||
|
||||
setup_target_for_coverage_gcovr_html(NAME coverage EXECUTABLE "${command}")
|
||||
setup_target_for_coverage_gcovr_xml(NAME coverage_xml EXECUTABLE "${command}")
|
||||
|
||||
Reference in New Issue
Block a user