Skip to content

RFC Device discovery & UART test

Cyril Hrubis ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tst_test: Add support for device discoverydevice-discovery.sh include/tst_test.h lib/tst_devices.c +2 more+321 -72 replies
1/2tst_test: Add support for device discovery+0 -01 reply
1/2tst_test: Add support for device discovery+0 -02 replies
1/2tst_test: Add support for device discovery+0 -00 replies
1/2tst_test: Add support for device discovery+0 -00 replies
2/2device_drivers/uart01: Add uart01 testruntest/kernel_misc testcases/kernel/device-drivers/uart/.gitignore testcases/kernel/device-drivers/uart/Makefile +1 more+532 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/2] [RFC] Device discovery & UART test

This is not 100% finished and I do not intend to merge the code as it is. The main purpose is to show the direction in which I think we should move in order to include the device drivers in LTP.

Have a look at the "Add support for device discovery" patch that introduces the important pieces.

Cyril Hrubis (2):
tst_test: Add support for device discovery
device_drivers/uart01: Add uart01 test

 device-discovery.sh                           |   5 +
 include/tst_test.h                            |   3 +
 lib/tst_devices.c                             | 228 ++++++++
 lib/tst_devices.h                             |  32 ++
 lib/tst_test.c                                |  60 +-
 runtest/kernel_misc                           |   5 +
 .../kernel/device-drivers/uart/.gitignore     |   1 +
 testcases/kernel/device-drivers/uart/Makefile |   4 +
 testcases/kernel/device-drivers/uart/uart01.c | 522 ++++++++++++++++++
 9 files changed, 853 insertions(+), 7 deletions(-)
 create mode 100755 device-discovery.sh
 create mode 100644 lib/tst_devices.c
 create mode 100644 lib/tst_devices.h
 create mode 100644 testcases/kernel/device-drivers/uart/.gitignore
 create mode 100644 testcases/kernel/device-drivers/uart/Makefile
 create mode 100644 testcases/kernel/device-drivers/uart/uart01.c
Signature · 1 line
2.26.2