pebble/third_party/nanopb/tests/regression/issue_363/SConscript

15 lines
352 B
Text
Raw Permalink Normal View History

# 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)