SConscript 352 B

1234567891011121314
  1. # Regression test for #363:
  2. # Incorrect PB_STATIC_ASSERT for bytes inside oneof
  3. Import("env")
  4. env.NanopbProto("oneofmsg.proto")
  5. testprog = env.Program(["test_oneofmsg.c",
  6. "oneofmsg.pb.c",
  7. "$COMMON/pb_encode.o",
  8. "$COMMON/pb_decode.o",
  9. "$COMMON/pb_common.o"])
  10. env.RunTest(testprog)