mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 19:20:05 +01:00
./configure --enable-gcov adds the required flags to link everything ready for gcov. A new make gcov target runs the test suite, then pulls all the gcov bits together into ./test/gcov-reports/ including a summary file. The script to pull everything out is used in libevdev too, we just have an extra condition here to ignore the selftest gcov bits (it overwrites the useful litest.c coverage output). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
11 lines
199 B
Makefile
11 lines
199 B
Makefile
SUBDIRS = src doc test tools udev
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
valgrind:
|
|
(cd test; $(MAKE) valgrind)
|
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-test-run
|
|
|
|
gcov:
|
|
(cd test; $(MAKE) gcov)
|