Skip to content

Commit

Permalink
Allow parallel test coverage (e.g. ctest -j 8 ) (#3162)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrnhines authored Oct 30, 2024
1 parent d52f6ae commit a6510fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Coverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(NRN_ENABLE_COVERAGE)
if(NOT BUILD_TYPE_UPPER STREQUAL "DEBUG")
message(WARNING "Using CMAKE_BUILD_TYPE=Debug is recommended with NRN_ENABLE_COVERAGE")
endif()
set(NRN_COVERAGE_FLAGS_UNQUOTED --coverage -fno-inline)
set(NRN_COVERAGE_FLAGS_UNQUOTED --coverage -fno-inline -fprofile-update=atomic)
string(JOIN " " NRN_COVERAGE_FLAGS ${NRN_COVERAGE_FLAGS_UNQUOTED})
set(NRN_COVERAGE_LINK_FLAGS --coverage)

Expand Down

0 comments on commit a6510fe

Please sign in to comment.