Skip to content

Commit

Permalink
test that
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Oct 1, 2024
1 parent 78b49ab commit 545074f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions tests/usbprotocol/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
set -e

# Loops over all HW_TYPEs, see board/boards/board_declarations.h
for hw_type in {0..7}; do
echo "Testing HW_TYPE: $hw_type"
HW_TYPE=$hw_type python3 -m unittest discover .
for hw_type in {0..50}; do
for hw_type in {0..7}; do
echo "Testing HW_TYPE: $hw_type"
HW_TYPE=$hw_type python3 -m unittest discover .
done
done
2 changes: 0 additions & 2 deletions tests/usbprotocol/test_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def test_comms_reset_tx(self):


def test_can_send_usb(self):
lpp.set_safety_hooks(Panda.SAFETY_ALLOUTPUT, 0)

for bus in range(3):
with self.subTest(bus=bus):
for _ in range(100):
Expand Down

0 comments on commit 545074f

Please sign in to comment.