SConscript 355 B

12345678910111213
  1. # Regression test for Issue 229: problem encoding message that has
  2. # multiple oneof fields
  3. Import('env')
  4. env.NanopbProto('multiple_oneof')
  5. p = env.Program(["multiple_oneof.c",
  6. "multiple_oneof.pb.c",
  7. "$COMMON/pb_decode.o",
  8. "$COMMON/pb_encode.o",
  9. "$COMMON/pb_common.o"])
  10. env.RunTest(p)