libevdev/test
Peter Hutterer 24dafff909 configure.ac: enable subdir-objects
The main thing holding us back here was our gcov hacks. We used to rebuild the
libevdev sources locally inside test/ with the gcov flags so that we could
leave the main libevdev sources untouched. This doesn't work well with
subdir-objects - we have to link to libevdev.la instead.

To enable gcov, we now have to apply the gcov flags to the main library
object. But this also means that when running, the notes files will be
somewhere within the libevdev/ directory, not the test/ directory. Working
around this in automake gets nasty quickly, so just add a script that knows
how to search for things.

No functional changes unless --enable-gcov is given at configure time - then
don't install the library.

The gcov reports are now in test/gcov-reports/

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2017-01-09 09:40:28 +10:00
..
.gitignore Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
generate-gcov-report.sh configure.ac: enable subdir-objects 2017-01-09 09:40:28 +10:00
Makefile.am configure.ac: enable subdir-objects 2017-01-09 09:40:28 +10:00
test-common-uinput.c test: ignore a failure to UI_DEV_DESTROY the device 2016-03-04 07:26:53 +10:00
test-common-uinput.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-common.c test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-common.h test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-compile-pedantic.c test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
test-event-codes.c Add libevdev_property_from_name() 2014-08-20 08:43:15 +10:00
test-event-names.c cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-int-queue.c cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-kernel.c test: fix EVIOCREVOKE test on non-supporting kernels 2014-08-25 10:28:09 +10:00
test-libevdev-events.c test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-libevdev-has-event.c cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-libevdev-init.c cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-link.c test: add basic link test 2013-12-12 13:19:52 +10:00
test-main.c test: whitespace fixes (newlines) 2014-03-05 19:16:08 +10:00
test-uinput.c test: abort on unexpected log messages 2014-01-22 09:14:40 +10:00
valgrind.suppressions test: ignore any timer_create errors in valgrind 2014-06-12 09:50:22 +10:00