authorgravatar for marc@tiehu.isMarc Tiehuis <marc@tiehu.is> 2017-08-10 19:24:50+12:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2017-08-10 19:24:50+12:00
log3a0bfeb9d21a33ed77d8ff78a2c72cd8f5e523e0
treeb867a36489b185913e624998367e584037571247
parent35d3444e2742faa3c2e805cdcbfeceaf0287eefc

Fix coverage build command

Seems like this was deleted at some stage. coverage command works as expected once removed. Do correct me if I've missed something, though.

1 files changed, 0 insertions(+), 1 deletions(-)

CMakeLists.txt-1
...@@ -317,7 +317,6 @@ install(FILES "${CMAKE_SOURCE_DIR}/std/special/zigrt.zig" DESTINATION "${ZIG_STD...@@ -317,7 +317,6 @@ install(FILES "${CMAKE_SOURCE_DIR}/std/special/zigrt.zig" DESTINATION "${ZIG_STD
317317
318if (ZIG_TEST_COVERAGE)318if (ZIG_TEST_COVERAGE)
319 add_custom_target(coverage319 add_custom_target(coverage
320 DEPENDS run_tests
321 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}320 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
322 COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1321 COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1
323 COMMAND ./zig build --build-file ../build.zig test322 COMMAND ./zig build --build-file ../build.zig test