diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-12 12:16:58 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-09-12 12:16:58 +0300 |
commit | 1582038e37771ade214f0627c3ecbf6e1ba69946 (patch) | |
tree | 5c305c99771af087f36bb9feb47b041c756f5def /tests/enum_sizes/SConscript | |
parent | 612a51c608504f59fcd86c74eedac2903f088a0a (diff) |
Add testcase for issue #164
Diffstat (limited to 'tests/enum_sizes/SConscript')
-rw-r--r-- | tests/enum_sizes/SConscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/enum_sizes/SConscript b/tests/enum_sizes/SConscript new file mode 100644 index 00000000..048592ed --- /dev/null +++ b/tests/enum_sizes/SConscript @@ -0,0 +1,12 @@ +# Test that different sizes of enum fields are properly encoded and decoded. + +Import('env') + +env.NanopbProto('enumsizes') + +p = env.Program(["enumsizes_unittests.c", + "enumsizes.pb.c", + "$COMMON/pb_encode.o", + "$COMMON/pb_decode.o", + "$COMMON/pb_common.o"]) +env.RunTest(p) |