Automated MISRA checking now working. Disabling until the violations is 0

This commit is contained in:
Josh Stewart 2017-06-16 16:07:33 +10:00
parent 1f391b7957
commit 5704bd82a1
2 changed files with 8 additions and 3 deletions

View File

@ -51,7 +51,7 @@ script:
- cd noisymime/speeduino
- platformio run
- cd ..
- speeduino/utils/check_misra.sh
# - speeduino/utils/check_misra.sh
#

View File

@ -15,5 +15,10 @@ cat results.txt
# wc -l results.txt
errors=`wc -l < results.txt | tr -d ' '`
echo $errors
exit $errors
echo $errors + " MISRA violations"
if [ $errors -gt 0 ]; then
exit 1
else
exit 0
fi