SConscript 285 B

12345678910111213
  1. # Verify that the maximum encoded size is calculated properly
  2. # for enums.
  3. Import('env')
  4. env.NanopbProto('enums')
  5. p = env.Program(["enum_encoded_size.c",
  6. "enums.pb.c",
  7. "$COMMON/pb_encode.o",
  8. "$COMMON/pb_common.o"])
  9. env.RunTest(p)