mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
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.
This commit is contained in:
@@ -317,7 +317,6 @@ install(FILES "${CMAKE_SOURCE_DIR}/std/special/zigrt.zig" DESTINATION "${ZIG_STD
|
||||
|
||||
if (ZIG_TEST_COVERAGE)
|
||||
add_custom_target(coverage
|
||||
DEPENDS run_tests
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
COMMAND lcov --directory . --zerocounters --rc lcov_branch_coverage=1
|
||||
COMMAND ./zig build --build-file ../build.zig test
|
||||
|
||||
Reference in New Issue
Block a user