mirror of
https://github.com/google/pebble.git
synced 2025-03-20 11:01:20 +00:00
14 lines
285 B
Text
14 lines
285 B
Text
|
# Verify that the maximum encoded size is calculated properly
|
||
|
# for enums.
|
||
|
|
||
|
Import('env')
|
||
|
|
||
|
env.NanopbProto('enums')
|
||
|
|
||
|
p = env.Program(["enum_encoded_size.c",
|
||
|
"enums.pb.c",
|
||
|
"$COMMON/pb_encode.o",
|
||
|
"$COMMON/pb_common.o"])
|
||
|
env.RunTest(p)
|
||
|
|