Skip to content

Convert CAN tests to new LTP API

Richard Palethorpe ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

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/5] Convert CAN tests to new LTP API

Hello Oliver,

Quoted 4 lines · Hartkopp, Oliver, Dr. (EESC/5) <[email protected]> writes:

Dear Richard,

either I'm not using my VW-Email for OSS/SocketCAN anymore and the socketcan-users@berlios is also not used anymore.

Thanks, I will send a V2 with these addresses removed from our docs.

Quoted 38 lines

Please resend you patch set with these updated mail addresses:

Oliver Hartkopp <[email protected]>
Linux-CAN ML <[email protected]>

Many thanks,
Oliver

-----Urspr?ngliche Nachricht-----
Von: Richard Palethorpe <[email protected]>
Gesendet: Montag, 18. Januar 2021 16:56
An: [email protected]
Cc: [email protected]; Hartkopp, Oliver, Dr. (EESC/5) <[email protected]>; Richard Palethorpe <[email protected]>
Betreff: [PATCH 0/5] Convert CAN tests to new LTP API

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
Signature · 2 lines
Thank you,
Richard.