mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
285 B
14 lines
285 B
8 years ago
|
# 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)
|
||
|
|