File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
git clone https://github.com/danmar/cppcheck.git || true
4
4
cd cppcheck
5
5
git fetch
6
- git checkout 44d6066c6fad32e2b0332b3f2b24bd340febaef8
6
+ git checkout 862c4ef87b109ae86c2d5f12769b7c8d199f35c5
7
7
make -j4
8
8
cd ../../../
9
9
10
10
# panda code
11
- tests/misra/cppcheck/cppcheck -DCAN3 -DUID_BASE --suppressions-list=tests/misra/suppressions.txt --dump --enable=all --inline-suppr --force board/main.c 2> /tmp/misra/cppcheck_output.txt || true
11
+ tests/misra/cppcheck/cppcheck -DPANDA -UPEDAL - DCAN3 -DUID_BASE --suppressions-list=tests/misra/suppressions.txt --dump --enable=all --inline-suppr --force board/main.c 2> /tmp/misra/cppcheck_output.txt || true
12
12
python tests/misra/cppcheck/addons/misra.py board/main.c.dump 2> /tmp/misra/misra_output.txt || true
13
13
14
14
# violations in safety files
24
24
fi
25
25
26
26
# pedal code
27
- tests/misra/cppcheck/cppcheck -UCAN3 --suppressions-list=tests/misra/suppressions.txt -I board/ --dump --enable=all --inline-suppr --force board/pedal/main.c 2> /tmp/misra/cppcheck_pedal_output.txt || true
27
+ tests/misra/cppcheck/cppcheck -UPANDA -DPEDAL - UCAN3 --suppressions-list=tests/misra/suppressions.txt -I board/ --dump --enable=all --inline-suppr --force board/pedal/main.c 2> /tmp/misra/cppcheck_pedal_output.txt || true
28
28
python tests/misra/cppcheck/addons/misra.py board/pedal/main.c.dump 2> /tmp/misra/misra_pedal_output.txt || true
You can’t perform that action at this time.
0 commit comments