All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/5] Convert CAN tests to new LTP API
@ 2021-01-18 15:56 Richard Palethorpe
  2021-01-18 15:56 ` [LTP] [PATCH 1/5] API: Add FILE_SCANF to new lib Richard Palethorpe
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Richard Palethorpe @ 2021-01-18 15:56 UTC (permalink / raw)
  To: ltp

Hello,

This is an attempt to convert the CAN tests to the (modern) LTP API
and removes the wrapper script. 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.

Richard Palethorpe (5):
  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

 include/tst_safe_file_ops.h                   |   3 +
 testcases/network/can/Makefile                |   2 -
 .../can/filter-tests/00_Descriptions.txt      |   1 +
 testcases/network/can/filter-tests/INSTALL    |   3 +-
 testcases/network/can/filter-tests/Makefile   |   2 -
 .../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, 288 insertions(+), 489 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] 8+ messages in thread

end of thread, other threads:[~2021-01-18 18:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 15:56 [LTP] [PATCH 0/5] Convert CAN tests to new LTP API Richard Palethorpe
2021-01-18 15:56 ` [LTP] [PATCH 1/5] API: Add FILE_SCANF to new lib Richard Palethorpe
2021-01-18 15:56 ` [LTP] [PATCH 2/5] can: Add can_common.h for vcan device setup Richard Palethorpe
2021-01-18 15:56 ` [LTP] [PATCH 3/5] can_filter: Convert to new library Richard Palethorpe
2021-01-18 15:56 ` [LTP] [PATCH 4/5] can_recv_own_msgs: " Richard Palethorpe
2021-01-18 15:56 ` [LTP] [PATCH 5/5] can: Remove obsolete test wrapper script Richard Palethorpe
2021-01-18 16:18 ` [LTP] [PATCH 0/5] Convert CAN tests to new LTP API Hartkopp, Oliver, Dr.
2021-01-18 18:50   ` Richard Palethorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.