Files
StarPilot/tests/safety/test.sh
T
Vehicle Researcher a32afb2532 Squashed 'panda/' content from commit 3b356216
git-subtree-dir: panda
git-subtree-split: 3b35621671aaa6de3fc66d85d30e4208a77e2489

old-commit-hash: b0b7a768f0
2020-01-15 14:04:42 -08:00

19 lines
366 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
# HW_TYPE_UNO 5U
# Make sure test fails if one HW_TYPE fails
set -e
for hw_type in 0 1 2 3 4 5
do
echo "Testing HW_TYPE: $hw_type"
HW_TYPE=$hw_type python -m unittest discover .
done