Indicate test status with RGB led

This commit is contained in:
Lorenz Meier
2015-02-21 12:45:50 +01:00
parent d57dd250b9
commit 4938ff4c29

View File

@@ -6,6 +6,11 @@ set unit_test_failure 0
uorb start uorb start
if rgbled start
then
rgbled rgb 20 20 255
fi
if sercon if sercon
then then
echo "[i] USB interface connected" echo "[i] USB interface connected"
@@ -217,9 +222,11 @@ if [ $unit_test_failure == 0 ]
then then
echo echo
echo "All Unit Tests PASSED" echo "All Unit Tests PASSED"
rgbled rgb 20 255 20
else else
echo echo
echo "Some Unit Tests FAILED:${unit_test_failure_list}" echo "Some Unit Tests FAILED:${unit_test_failure_list}"
rgbled rgb 255 20 20
fi fi
ver all ver all