mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-19 16:22:08 +08:00
panda: add unit tests for usb protocol (pack/unpack) (#22955)
* prepare for unit tests * add to selfdrive_tests.yaml * test header * test chunk count * rename test function * continue * don't check chunks count * test recv_can * continue * small cleanup * merge master * cleanup * rename functions * test different packet size * fix operator precedence problem * refactor unpack_can_buffer * cleanup test * cleanup unpack_can_buffer * add test for multiple pandas * rename to test_panda * restore test_boardd * rename to test_boardd_usbprotocol * fix typo * bus_offset = [0,4] * change src * use USBPACKET_MAX_SIZE old-commit-hash: c77354009c61da8a322dc9aaaa4c1ecaec432449
This commit is contained in:
@@ -247,6 +247,7 @@ jobs:
|
||||
$UNIT_TEST selfdrive/athena && \
|
||||
$UNIT_TEST selfdrive/thermald && \
|
||||
$UNIT_TEST tools/lib/tests && \
|
||||
./selfdrive/boardd/tests/test_boardd_usbprotocol && \
|
||||
./selfdrive/common/tests/test_util && \
|
||||
./selfdrive/loggerd/tests/test_logger &&\
|
||||
./selfdrive/proclogd/tests/test_proclog && \
|
||||
|
||||
Reference in New Issue
Block a user