firmware/extra/nanopb/tests/enum_sizes/SConscript
Patrick Moessler 0c83634f42 Initial commit
2019-10-13 00:37:11 +02:00

12 lines
336 B
Python

# 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)