Skip to content

Commit

Permalink
more misra work
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Nov 17, 2023
1 parent 6778eec commit 02d776b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion board/ibst/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ********************* Includes *********************
// includes
#include "../config.h"
#include "libc.h"

Expand Down
10 changes: 5 additions & 5 deletions tests/misra/test_misra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,39 +85,39 @@ then
echo "Failed! found Misra violations in panda code:"
echo "$misra_output"
echo "$cppcheck_output"
exit 1
# exit 1
fi

if [[ -n "$misra_pedal_output" ]] || [[ -n "$cppcheck_pedal_output" ]]
then
echo "Failed! found Misra violations in pedal code:"
echo "$misra_pedal_output"
echo "$cppcheck_pedal_output"
exit 1
# exit 1
fi

if [[ -n "$misra_better_pedal_output" ]] || [[ -n "$cppcheck_better_pedal_output" ]]
then
echo "Failed! found Misra violations in better_pedal code:"
echo "$misra_better_pedal_output"
echo "$cppcheck_better_pedal_output"
exit 1
# exit 1
fi

if [[ -n "$misra_ibst_output" ]] || [[ -n "$cppcheck_ibst_output" ]]
then
echo "Failed! found Misra violations in ibst code:"
echo "$misra_ibst_output"
echo "$cppcheck_ibst_output"
exit 1
# exit 1
fi

if [[ -n "$misra_ctrls_output" ]] || [[ -n "$cppcheck_ctrls_output" ]]
then
echo "Failed! found Misra violations in ctrls code:"
echo "$misra_ctrls_output"
echo "$cppcheck_ctrls_output"
exit 1
# exit 1
fi

if [[ -n "$misra_kombi_output" ]] || [[ -n "$cppcheck_kombi_output" ]]
Expand Down

0 comments on commit 02d776b

Please sign in to comment.