mirror of
https://github.com/google/pebble.git
synced 2025-03-20 11:01:20 +00:00
13 lines
316 B
Text
13 lines
316 B
Text
|
# Regression test for Issue 249: proto3 mode pb_decode() corrupts callback fields
|
||
|
Import('env')
|
||
|
|
||
|
env.NanopbProto('test')
|
||
|
|
||
|
p = env.Program(["test.c",
|
||
|
"test.pb.c",
|
||
|
"$COMMON/pb_decode.o",
|
||
|
"$COMMON/pb_encode.o",
|
||
|
"$COMMON/pb_common.o"])
|
||
|
env.RunTest(p)
|
||
|
|