Fix check-coverage target (CFLAGS+LDFLAGS not set properly)
Reported-by: https://github.com/darnir
This commit is contained in:
parent
9b2d7b7a9c
commit
069c6ff091
|
@ -26,6 +26,7 @@ clean-local:
|
||||||
check-coverage:
|
check-coverage:
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
lcov --no-external --capture --initial --directory . --output-file libpsl.info
|
lcov --no-external --capture --initial --directory . --output-file libpsl.info
|
||||||
CFLAGS=$CFLAGS" --coverage" LDFLAGS=$LDFLAGS" --coverage" $(MAKE) check
|
CFLAGS=$$CFLAGS" --coverage" LDFLAGS=$$LDFLAGS" --coverage" ./configure && $(MAKE) check
|
||||||
lcov --no-external --capture --directory . --output-file libpsl.info
|
lcov --no-external --capture --directory . --output-file libpsl.info
|
||||||
|
# lcov --remove libpsl.info 'tests/*.c' 'src/lookup_*' 'src/psl2c.c' -o libpsl.info
|
||||||
genhtml --prefix . --ignore-errors source libpsl.info --legend --title "libpsl" --output-directory=lcov
|
genhtml --prefix . --ignore-errors source libpsl.info --legend --title "libpsl" --output-directory=lcov
|
||||||
|
|
Loading…
Reference in New Issue