Message ID | 20241202-input_refactoring-v2-0-369609492896@suse.com |
---|---|
Headers | show |
Series | Rewrite input testing suite | expand |
Hi, merged, thanks for the reviews! Andrea On 12/2/24 11:12, Andrea Cervesato wrote: > Cleanup of the input testing suite, using new LTP API and changing > the way we are obtaining information from input devices. > Usage of the tst_uinput.h utilities, rewritten input helper and > simplified the source code. > > Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com> > --- > Changes in v2: > - use checkpoint in input03 > - move check_ui_get_sysname_ioctl() in tst_uinput.h > - Link to v1: https://lore.kernel.org/r/20241125-input_refactoring-v1-0-b622b3aa698d@suse.com > > --- > Andrea Cervesato (7): > Refactor input01 test > Refactor input02 test > Refactor input03 test > Refactor input04 test > Refactor input05 test > Refactor input06 test > Delete depreacted input test suite helper > > libs/uinput/tst_uinput.c | 26 ++- > testcases/kernel/input/Makefile | 6 +- > testcases/kernel/input/input01.c | 205 +++++----------------- > testcases/kernel/input/input02.c | 132 ++++++-------- > testcases/kernel/input/input03.c | 176 ++++++++----------- > testcases/kernel/input/input04.c | 113 ++++-------- > testcases/kernel/input/input05.c | 119 ++++--------- > testcases/kernel/input/input06.c | 190 +++++++++------------ > testcases/kernel/input/input_common.h | 97 +++++++++++ > testcases/kernel/input/input_helper.c | 313 ---------------------------------- > testcases/kernel/input/input_helper.h | 36 ---- > 11 files changed, 443 insertions(+), 970 deletions(-) > --- > base-commit: ec4161186e51b55d4faaa394dc4607200cb30f68 > change-id: 20241113-input_refactoring-16aea13ed7b8 > > Best regards,
Cleanup of the input testing suite, using new LTP API and changing the way we are obtaining information from input devices. Usage of the tst_uinput.h utilities, rewritten input helper and simplified the source code. Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com> --- Changes in v2: - use checkpoint in input03 - move check_ui_get_sysname_ioctl() in tst_uinput.h - Link to v1: https://lore.kernel.org/r/20241125-input_refactoring-v1-0-b622b3aa698d@suse.com --- Andrea Cervesato (7): Refactor input01 test Refactor input02 test Refactor input03 test Refactor input04 test Refactor input05 test Refactor input06 test Delete depreacted input test suite helper libs/uinput/tst_uinput.c | 26 ++- testcases/kernel/input/Makefile | 6 +- testcases/kernel/input/input01.c | 205 +++++----------------- testcases/kernel/input/input02.c | 132 ++++++-------- testcases/kernel/input/input03.c | 176 ++++++++----------- testcases/kernel/input/input04.c | 113 ++++-------- testcases/kernel/input/input05.c | 119 ++++--------- testcases/kernel/input/input06.c | 190 +++++++++------------ testcases/kernel/input/input_common.h | 97 +++++++++++ testcases/kernel/input/input_helper.c | 313 ---------------------------------- testcases/kernel/input/input_helper.h | 36 ---- 11 files changed, 443 insertions(+), 970 deletions(-) --- base-commit: ec4161186e51b55d4faaa394dc4607200cb30f68 change-id: 20241113-input_refactoring-16aea13ed7b8 Best regards,