mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 08:00:08 +01:00
Merge branch 'wip/installed-test-fixes' into 'main'
test: a few install-tests fixes See merge request libinput/libinput!1384
This commit is contained in:
commit
a611db4db3
3 changed files with 18 additions and 7 deletions
|
|
@ -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],
|
||||
|
|
|
|||
|
|
@ -2003,7 +2003,10 @@ litest_setup_quirks(struct list *created_files_list, enum quirks_setup_mode mode
|
|||
|
||||
switch (mode) {
|
||||
case QUIRKS_SETUP_USE_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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue