Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/6] Convert CAN tests to new LTP API
@ 2021-01-19  9:31 Richard Palethorpe
  2021-01-19  9:31 ` [LTP] [PATCH v2 1/6] API: Add FILE_SCANF to new lib Richard Palethorpe
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Richard Palethorpe @ 2021-01-19  9:31 UTC (permalink / raw)
  To: ltp

Hello,

This is an attempt to convert the CAN tests to the (modern) Linux Test
Project API and removes the wrapper script. To be clear, this is a
patch-set for the LTP *not* the kernel tree or can-utils.

I have tried to keep the core test behaviour the same, but (for
example) moving to the SAFE_ functions will naturally introduce some
changes in error checking. Deliberate behavioral changes have been
noted in the commit messages.

FYI, we appear to have 4 CAN tests in LTP including two tests for
SLCAN (pty03, pty04).

V2: Update e-mail addresses and resend

Richard Palethorpe (6):
  API: Add FILE_SCANF to new lib
  can: Add can_common.h for vcan device setup
  can_filter: Convert to new library
  can_recv_own_msgs: Convert to new library
  can: Remove obsolete test wrapper script
  can: Update contact details

 include/tst_safe_file_ops.h                   |   3 +
 testcases/network/can/Makefile                |   2 -
 .../can/filter-tests/00_Descriptions.txt      |   6 +-
 testcases/network/can/filter-tests/INSTALL    |   3 +-
 testcases/network/can/filter-tests/Makefile   |   4 -
 .../network/can/filter-tests/can_common.h     |  70 ++++
 .../network/can/filter-tests/can_filter.c     | 317 +++++++-----------
 .../can/filter-tests/can_rcv_own_msgs.c       | 273 +++++----------
 .../network/can/filter-tests/can_run_tests.sh | 106 ------
 9 files changed, 291 insertions(+), 493 deletions(-)
 create mode 100644 testcases/network/can/filter-tests/can_common.h
 delete mode 100755 testcases/network/can/filter-tests/can_run_tests.sh

-- 
2.29.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-01-19 21:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-19  9:31 [LTP] [PATCH v2 0/6] Convert CAN tests to new LTP API Richard Palethorpe
2021-01-19  9:31 ` [LTP] [PATCH v2 1/6] API: Add FILE_SCANF to new lib Richard Palethorpe
2021-01-19  9:31 ` [LTP] [PATCH v2 2/6] can: Add can_common.h for vcan device setup Richard Palethorpe
2021-01-19 18:05   ` Petr Vorel
2021-01-19  9:31 ` [LTP] [PATCH v2 3/6] can_filter: Convert to new library Richard Palethorpe
2021-01-19  9:31 ` [LTP] [PATCH v2 4/6] can_recv_own_msgs: " Richard Palethorpe
2021-01-19 14:53   ` Marc Kleine-Budde
2021-01-19 15:06     ` Cyril Hrubis
2021-01-19 15:09       ` Marc Kleine-Budde
2021-01-19 16:34         ` Richard Palethorpe
2021-01-19 16:39           ` Marc Kleine-Budde
2021-01-19 21:34             ` Oliver Hartkopp
2021-01-19  9:31 ` [LTP] [PATCH v2 5/6] can: Remove obsolete test wrapper script Richard Palethorpe
2021-01-19  9:31 ` [LTP] [PATCH v2 6/6] can: Update contact details Richard Palethorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox