diff options
author | Nuno Lopes <nlopess@php.net> | 2014-05-18 11:21:05 -0400 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2014-05-18 11:21:05 -0400 |
commit | 4f8a84b2e70af341560e271a824159bf9b814cf9 (patch) | |
tree | 2e8b837d44175d7cbada7cbf4574f8adfd9c176b /Makefile.gcov | |
parent | 6aac353accfb205bf555d2edfb7255b42ee6fc73 (diff) | |
download | php-git-4f8a84b2e70af341560e271a824159bf9b814cf9.tar.gz |
gcov: tentative fix for broken coverage data after fix for opcache coverage
slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
Diffstat (limited to 'Makefile.gcov')
-rw-r--r-- | Makefile.gcov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.gcov b/Makefile.gcov index 37c1b4b44c..02774b838e 100644 --- a/Makefile.gcov +++ b/Makefile.gcov @@ -14,7 +14,7 @@ php_lcov.info: lcov-test @rm -rf lcov_data/ @$(mkinstalldirs) lcov_data/ @echo - -@files=`find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.c -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | $(EGREP) $(LCOV_INCLUDE) | uniq` ;\ + -@files=`find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.c -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | $(EGREP) $(LCOV_INCLUDE) | sed -e 's/.libs/ZZZZ/g' | sort | sed -e 's/ZZZZ/.libs/g' | uniq` ;\ for x in $$files; do \ echo -n . ;\ y=`echo $$x | sed -e 's!\.libs/!!'`; \ |