SConscript 300 B

12345678
  1. # Regression test for #558:
  2. # Manually defining proto3:true on a field with default value incorrectly omits it when encoding.
  3. Import("env")
  4. env.NanopbProto("mixed")
  5. test = env.Program(["mixed.c", "mixed.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
  6. env.RunTest(test)