36 |
36 |
37 check-coverage: $(GCOV) |
37 check-coverage: $(GCOV) |
38 mv *.gcov "$(build_dir)" |
38 mv *.gcov "$(build_dir)" |
39 |
39 |
40 %.c.gcov: %.c $(build_dir)/%.gcno |
40 %.c.gcov: %.c $(build_dir)/%.gcno |
41 gcov -Ho "$(build_dir)" $< |
41 @printf '%16s - %s\n' "$<" "`gcov -Ho "$(build_dir)" $< | grep --max-count=1 -i 'lines executed'`" |
42 |
42 |
43 $(build_dir)/%.gcno: |
43 $(build_dir)/%.gcno: |
44 test -f "$@" |
44 test -f "$@" |
45 |
45 |
46 $(build_dir)/libucx_static$(STLIB_EXT): $(OBJ) |
46 $(build_dir)/libucx_static$(STLIB_EXT): $(OBJ) |