SConscript 281 B

12345678910
  1. # Regression test for #617:
  2. # Unordered field numbers inside oneof can cause fields to be ignored
  3. Import("env")
  4. env.NanopbProto(["oneof.proto", "oneof.options"])
  5. test = env.Program(["test_oneof.c", "oneof.pb.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
  6. env.RunTest(test)