Add CONFIG_CODE_COVERAGE=y option for gcov

This can be used to measure code coverage from test scripts.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-11-24 19:16:12 +02:00
parent d9c753b4f5
commit 7feff06567
19 changed files with 37 additions and 19 deletions

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -1,7 +1,7 @@
all: libcrypto.a
clean:
rm -f *~ *.o *.d libcrypto.a
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libcrypto.a
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
rm -f build.wpa_supplicant build.hostapd
install:

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.so *.d
rm -f *~ *.o *.so *.d *.gcno *.gcda *.gcov
install:
if ls *.so >/dev/null 2>&1; then \

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -2,8 +2,7 @@ all:
@echo Nothing to be made.
clean:
for d in $(SUBDIRS); do make -C $$d clean; done
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -1,7 +1,7 @@
all: libradius.a
clean:
rm -f *~ *.o *.d libradius.a
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libradius.a
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.

View file

@ -1,7 +1,7 @@
all: libutils.a
clean:
rm -f *~ *.o *.d libutils.a
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libutils.a
install:
@echo Nothing to be made.

View file

@ -2,7 +2,7 @@ all:
@echo Nothing to be made.
clean:
rm -f *~ *.o *.d
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
install:
@echo Nothing to be made.