SConscript 435 B

1234567891011121314
  1. # Regression test for Issue 227:Using proto3 type fields can cause unaligned access
  2. # NOTE: This test will only detect problems when run with clang sanitizer (which
  3. # is done regularly by a jenkins run).
  4. Import('env')
  5. env.NanopbProto('unaligned_uint64')
  6. p = env.Program(["unaligned_uint64.c",
  7. "unaligned_uint64.pb.c",
  8. "$COMMON/pb_encode.o",
  9. "$COMMON/pb_common.o"])
  10. env.RunTest(p)