SConscript 356 B

12345678910111213
  1. # Regression test for Issue 242: pb_encode does not encode tag for
  2. # extension fields that is all zeros
  3. Import('env')
  4. env.NanopbProto('zero_value')
  5. p = env.Program(["zero_value.c",
  6. "zero_value.pb.c",
  7. "$COMMON/pb_decode.o",
  8. "$COMMON/pb_encode.o",
  9. "$COMMON/pb_common.o"])
  10. env.RunTest(p)