SConscript 348 B

123456789101112
  1. # Regression test for #504:
  2. # Non empty submessage considered empty on FT_POINTER fields with address aligned on 0x100
  3. Import('env', 'malloc_env')
  4. env.NanopbProto(["test.proto"])
  5. test = malloc_env.Program(["test.c",
  6. "test.pb.c",
  7. "$COMMON/pb_encode.o",
  8. "$COMMON/pb_common.o"])
  9. env.RunTest(test)