From 99434724d0375280abe44944b0c39f45991f26df Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 2 Apr 2014 20:59:01 +0300 Subject: Fix splint warnings, add splint test case --- tests/splint/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/splint/SConscript (limited to 'tests/splint/SConscript') diff --git a/tests/splint/SConscript b/tests/splint/SConscript new file mode 100644 index 0000000..c1432dd --- /dev/null +++ b/tests/splint/SConscript @@ -0,0 +1,13 @@ +# Check the nanopb core using splint + +Import('env') + +p = env.WhereIs('splint') + +if p: + env.Command('pb_decode.splint', '$NANOPB/pb_decode.c', + 'splint -f splint/splint.rc $SOURCE 2> $TARGET') + + env.Command('pb_encode.splint', '$NANOPB/pb_encode.c', + 'splint -f splint/splint.rc $SOURCE 2> $TARGET') + -- cgit