diff --git a/meson.build b/meson.build index ceb3b98e..ca56c97b 100644 --- a/meson.build +++ b/meson.build @@ -795,6 +795,13 @@ test('tools-builddir-lookup-installed', ############ tests ############ +summary({ + 'Tests enabled' : get_option('tests'), + 'Install tests' : get_option('install-tests'), + }, + section : 'Tests', + bool_yn : true) + test('symbols-leak-test', find_program('test/symbols-leak-test'), args : [ dir_src / 'libinput.sym', dir_src], diff --git a/test/litest.c b/test/litest.c index fef36faa..25de3af1 100644 --- a/test/litest.c +++ b/test/litest.c @@ -2003,7 +2003,10 @@ litest_setup_quirks(struct list *created_files_list, enum quirks_setup_mode mode switch (mode) { case QUIRKS_SETUP_USE_SRCDIR: - dirname = LIBINPUT_QUIRKS_SRCDIR; + if (builddir_lookup(NULL)) + dirname = LIBINPUT_QUIRKS_SRCDIR; + else + dirname = LIBINPUT_QUIRKS_DIR; break; case QUIRKS_SETUP_ONLY_DEVICE: dirname = LIBINPUT_QUIRKS_DIR; @@ -5182,8 +5185,8 @@ litest_parse_argv(int argc, char **argv, int *njobs_out) " Glob to filter on test groups\n" " --filter-rangeval=N \n" " Only run tests with the given range value\n" - " --filter-deviceless=.... \n" - " Glob to filter on tests that do not create test devices\n" + " --filter-deviceless \n" + " Only run tests that do not create test devices\n" " --filter-parameter=param1:glob,param2:glob,... \n" " Glob(s) to filter on the given parameters in their string " "representation.\n" diff --git a/tools/libinput-test.man b/tools/libinput-test.man index 05a696f3..c632248a 100644 --- a/tools/libinput-test.man +++ b/tools/libinput-test.man @@ -24,11 +24,12 @@ Print help .SH FEATURES Tests that can be run are .TP 8 -.B libinput\-test\-suite(1) -Run the full test suite. This is the most complete set of tests to run in -libinput. +.B suite +Run the +.B libinput\-test\-suite(1). +This is the most complete set of tests to run in libinput. .TP 8 -.B libinput\-test\-utils +.B utils Run the test suite suite for internal utility functions. .SH LIBINPUT Part of the