mirror of
https://github.com/google/pebble.git
synced 2025-03-20 11:01:20 +00:00
15 lines
307 B
Text
15 lines
307 B
Text
|
# Test that pb_check_proto3_default_value() correctly skips padding
|
||
|
# bytes in submessage structures.
|
||
|
|
||
|
Import("env")
|
||
|
|
||
|
env.NanopbProto("padding")
|
||
|
|
||
|
p = env.Program(["padding.c",
|
||
|
"padding.pb.c",
|
||
|
"$COMMON/pb_encode.o",
|
||
|
"$COMMON/pb_common.o"])
|
||
|
|
||
|
env.RunTest(p)
|
||
|
|