mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
Add misra target
This commit is contained in:
1 parent
08f05d6f8c
commit
922d148ab5
1 file changed
+7
@@ -120,6 +120,13 @@ valgrind: Makefile mongoose.h mongoose.c
|
|||||||
$(CC) $(SRCS) $(VALGRIND_CFLAGS) $(LDFLAGS) -g -o unit_test
|
$(CC) $(SRCS) $(VALGRIND_CFLAGS) $(LDFLAGS) -g -o unit_test
|
||||||
$(VALGRIND_RUN) ./unit_test
|
$(VALGRIND_RUN) ./unit_test
|
||||||
|
|
||||||
|
misra:
|
||||||
|
cppcheck --addon=misra -DMG_ARCH=MG_ARCH_UNIX -DMG_ENABLE_PACKED_FS=1 -DMG_ENABLE_SSI=1 mongoose.c >/tmp/x 2>&1
|
||||||
|
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
|
||||||
|
cppcheck --addon=misra --clang -DMG_ENABLE_LINES=1 -DTLS=MG_TLS_BUILTIN -DMG_ENABLE_TCPIP=1 mongoose.c >>/tmp/x 2>&1
|
||||||
|
cppcheck --addon=misra --clang -DMG_ENABLE_LINES=1 -DMG_ENABLE_SSI=1 mongoose.c >>/tmp/x 2>&1
|
||||||
|
less /tmp/x
|
||||||
|
|
||||||
armhf: ASAN=
|
armhf: ASAN=
|
||||||
armhf: IPV6=0
|
armhf: IPV6=0
|
||||||
armhf: CC = $(DOCKER) mdashnet/armhf cc
|
armhf: CC = $(DOCKER) mdashnet/armhf cc
|
||||||
|
|||||||
Reference in new issue
Block a user