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