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:
Marc Tiehuis 2017-08-10 19:24:50 +12:00 committed by GitHub
parent 35d3444e27
commit 3a0bfeb9d2

View File

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