File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,13 @@ valgrind: Makefile mongoose.h mongoose.c
120
120
$(CC ) $(SRCS ) $(VALGRIND_CFLAGS ) $(LDFLAGS ) -g -o unit_test
121
121
$(VALGRIND_RUN ) ./unit_test
122
122
123
+ misra :
124
+ cppcheck --addon=misra -DMG_ARCH=MG_ARCH_UNIX -DMG_ENABLE_PACKED_FS=1 -DMG_ENABLE_SSI=1 mongoose.c > /tmp/x 2>&1
125
+ cppcheck --addon=misra -DMG_ARCH=MG_ARCH_CUSTOM -DMG_ENABLE_LINES=1 -DTLS=MG_TLS_BUILTIN -DMG_ENABLE_TCPIP=1 mongoose.c >> /tmp/x 2>&1
126
+ cppcheck --addon=misra --clang -DMG_ENABLE_LINES=1 -DTLS=MG_TLS_BUILTIN -DMG_ENABLE_TCPIP=1 mongoose.c >> /tmp/x 2>&1
127
+ cppcheck --addon=misra --clang -DMG_ENABLE_LINES=1 -DMG_ENABLE_SSI=1 mongoose.c >> /tmp/x 2>&1
128
+ less /tmp/x
129
+
123
130
armhf : ASAN=
124
131
armhf : IPV6=0
125
132
armhf : CC = $(DOCKER ) mdashnet/armhf cc
You can’t perform that action at this time.
0 commit comments