Skip to content

Rewrite input testing suite

Andrea Cervesato ltp 2 versions – Applied

Status from this message: merged, thanks for the reviews!

Get series with b4
b4 am [email protected] change-id 20241113-input_refactoring-16aea13ed7b8

Versions newest first

  1. v2 Latest7 patches 4 repliesApplied
  2. v17 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- use checkpoint in input03
- move check_ui_get_sysname_ioctl() in tst_uinput.h
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7Refactor input01 testlibs/uinput/tst_uinput.c testcases/kernel/input/Makefile testcases/kernel/input/input01.c +1 more+173 -1601 reply
2/7Refactor input02 testtestcases/kernel/input/Makefile testcases/kernel/input/input02.c+54 -820 replies
3/7Refactor input03 testtestcases/kernel/input/Makefile testcases/kernel/input/input03.c+73 -1070 replies
4/7Refactor input04 testtestcases/kernel/input/Makefile testcases/kernel/input/input04.c+35 -820 replies
5/7Refactor input05 testtestcases/kernel/input/Makefile testcases/kernel/input/input05.c+40 -850 replies
6/7Refactor input06 testtestcases/kernel/input/Makefile testcases/kernel/input/input06.c+79 -1162 replies
7/7Delete depreacted input test suite helpertestcases/kernel/input/input_helper.c testcases/kernel/input/input_helper.h+0 -3490 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchLi WangPetr Vorel
1/7R-b R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/7] Rewrite input testing suite

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.

---
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/[email protected]

---
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,

Signature · 5 lines
Andrea Cervesato <[email protected]>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp