mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
we love 80
Original commit message from CVS: we love 80
This commit is contained in:
parent
80b20e9a0f
commit
ac6e27ff68
1 changed files with 14 additions and 14 deletions
28
Makefile.am
28
Makefile.am
|
@ -87,20 +87,20 @@ GCOV_DIRS=gst libs
|
|||
## .PHONY so it always rebuilds it
|
||||
.PHONY: coverage-report.txt
|
||||
coverage-report.txt:
|
||||
BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg"` ; \
|
||||
C_FILES= ; \
|
||||
for F in $$BBG_FILES ; do \
|
||||
F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ; \
|
||||
C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g'` ; \
|
||||
B=`basename $$F .bbg` ; \
|
||||
D=`dirname $$F` ; \
|
||||
DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
|
||||
DA_libs=`echo $$D/.libs/$$B/.da` ; \
|
||||
if test -e $$DA || test -e $$DA_libs; then \
|
||||
C_FILES="$$C_FILES $$C" ; \
|
||||
fi ; \
|
||||
done ; \
|
||||
echo $$C_FILES ; \
|
||||
BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg"` ; \
|
||||
C_FILES= ; \
|
||||
for F in $$BBG_FILES ; do \
|
||||
F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ; \
|
||||
C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g'` ; \
|
||||
B=`basename $$F .bbg` ; \
|
||||
D=`dirname $$F` ; \
|
||||
DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
|
||||
DA_libs=`echo $$D/.libs/$$B/.da` ; \
|
||||
if test -e $$DA || test -e $$DA_libs; then \
|
||||
C_FILES="$$C_FILES $$C" ; \
|
||||
fi ; \
|
||||
done ; \
|
||||
echo $$C_FILES ; \
|
||||
$(top_builddir)/testsuite/decode-gcov --report $$C_FILES > coverage-report.txt
|
||||
|
||||
check-coverage: clean-gcov all check coverage-report.txt
|
||||
|
|
Loading…
Reference in a new issue