mirror of
https://github.com/google/pebble.git
synced 2025-03-19 18:41:21 +00:00
14 lines
307 B
Python
14 lines
307 B
Python
# 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)
|
|
|