mirror of
https://github.com/google/pebble.git
synced 2025-03-19 18:41:21 +00:00
14 lines
352 B
Python
14 lines
352 B
Python
# Regression test for #363:
|
|
# Incorrect PB_STATIC_ASSERT for bytes inside oneof
|
|
|
|
Import("env")
|
|
|
|
env.NanopbProto("oneofmsg.proto")
|
|
testprog = env.Program(["test_oneofmsg.c",
|
|
"oneofmsg.pb.c",
|
|
"$COMMON/pb_encode.o",
|
|
"$COMMON/pb_decode.o",
|
|
"$COMMON/pb_common.o"])
|
|
|
|
env.RunTest(testprog)
|
|
|