Files
StarPilot/tests/safety/test.sh
T
Vehicle Researcher 30bb73d527 Squashed 'panda/' changes from 45d0d286f..519e39e49
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
2019-07-30 02:25:28 +00:00

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