mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
30bb73d527
519e39e49 Changed heartbeat timeout to be 2 seconds on no ignition 996dc4049 Added heartbeat to black loopback testing 79b44cb7e bump version 59f581317 Black (#254) 096486693 no need to store safety only misra output anymore git-subtree-dir: panda git-subtree-split: 519e39e494c0b3dd0cf38581302788b779a03c7b
18 lines
345 B
Bash
Executable File
18 lines
345 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Loop over all hardware types:
|
|
# HW_TYPE_UNKNOWN 0U
|
|
# HW_TYPE_WHITE_PANDA 1U
|
|
# HW_TYPE_GREY_PANDA 2U
|
|
# HW_TYPE_BLACK_PANDA 3U
|
|
# HW_TYPE_PEDAL 4U
|
|
|
|
# Make sure test fails if one HW_TYPE fails
|
|
set -e
|
|
|
|
for hw_type in 0 1 2 3 4
|
|
do
|
|
echo "Testing HW_TYPE: $hw_type"
|
|
HW_TYPE=$hw_type python -m unittest discover .
|
|
done
|