SConscript 363 B

12345678910111213141516
  1. # Test that inlined bytes fields work.
  2. Import("env")
  3. env.NanopbProto("inline")
  4. env.Object("inline.pb.c")
  5. env.Match(["inline.pb.h", "inline.expected"])
  6. p = env.Program(["inline_unittests.c",
  7. "inline.pb.c",
  8. "$COMMON/pb_encode.o",
  9. "$COMMON/pb_decode.o",
  10. "$COMMON/pb_common.o"])
  11. env.RunTest(p)