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.
17 lines
363 B
17 lines
363 B
8 years ago
|
# Test that inlined bytes fields work.
|
||
|
|
||
|
Import("env")
|
||
|
|
||
|
env.NanopbProto("inline")
|
||
|
env.Object("inline.pb.c")
|
||
|
|
||
|
env.Match(["inline.pb.h", "inline.expected"])
|
||
|
|
||
|
p = env.Program(["inline_unittests.c",
|
||
|
"inline.pb.c",
|
||
|
"$COMMON/pb_encode.o",
|
||
|
"$COMMON/pb_decode.o",
|
||
|
"$COMMON/pb_common.o"])
|
||
|
|
||
|
env.RunTest(p)
|