SConscript 346 B

1234567891011121314
  1. # Regression test for #395:
  2. # Unexpected empty submessage in proto3 mode
  3. Import("env")
  4. env.NanopbProto(["test.proto", "test.options"])
  5. testprog = env.Program(["test.c",
  6. "test.pb.c",
  7. "$COMMON/pb_encode.o",
  8. "$COMMON/pb_decode.o",
  9. "$COMMON/pb_common.o"])
  10. env.RunTest(testprog)