SConscript 316 B

123456789101112
  1. # Regression test for Issue 249: proto3 mode pb_decode() corrupts callback fields
  2. Import('env')
  3. env.NanopbProto('test')
  4. p = env.Program(["test.c",
  5. "test.pb.c",
  6. "$COMMON/pb_decode.o",
  7. "$COMMON/pb_encode.o",
  8. "$COMMON/pb_common.o"])
  9. env.RunTest(p)