Skip to content

Commit

Permalink
Only delete coverage-files if they are expected to be generated
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed May 4, 2015
1 parent b500879 commit 3467f15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ tests/test-switch-server: tests/test_switch_server.c \
tests/test-fd-leaks: tests/test_fd_leaks.c \
tools/*.h tools/*.c

clean-local:
rm -f tools/*.gcno
rm -f tools/*.gcda
rm -f tools/*.gcov

clean-test-data:
rm -f "tests/test-recording "*" "*.data
rm -f "tests/test-server-"*.log
Expand All @@ -45,6 +40,11 @@ if GCOV_ENABLED
coverage:
$(MAKE) -C tools coverage
$(MAKE) -C tests/unit coverage

clean-local:
rm -f tools/*.gcno
rm -f tools/*.gcda
rm -f tools/*.gcov
endif

style:
Expand Down

0 comments on commit 3467f15

Please sign in to comment.