Soft'N'Design Software
/
projects
/
calc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7059478
)
update gcov rule
author
Laurent Mazet
<laurent.mazet@thalesgroup.com>
Thu, 9 Feb 2023 09:37:35 +0000
(10:37 +0100)
committer
Laurent Mazet
<laurent.mazet@thalesgroup.com>
Thu, 9 Feb 2023 09:37:35 +0000
(10:37 +0100)
makefile
patch
|
blob
|
blame
|
history
diff --git
a/makefile
b/makefile
index 25ebdc02b5414be51ec60da4609e689ddbfc587a..48382b25d7b29d5c7885454b86285dac1812eaec 100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-83,12
+83,13
@@
include $(wildcard *.ld)
gcov_%:
$(MAKE) purge
- GCOV="-
fprofile-arcs -ftest-
coverage -O0" $(MAKE)
+ GCOV="-coverage -O0" $(MAKE)
$(MAKE) test_$(@:gcov_%=%)
gcov `sed -e 's/\.exe:/.c/;s/\.o/.c/g' $(@:gcov_%=%.ld)`
touch gcov
rm -f gcov $(wildcard *.gcda *.gcno)
$(MAKE) purge
+ grep '#####' *.c.gcov || true
%.test: %.c
$(call TITLE, "Building $@")