1 2 3 4 5 6 7 8
# Check that the decoder properly detects when required fields are missing. Import("env") env.NanopbProto("missing_fields") test = env.Program(["missing_fields.c", "missing_fields.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o"]) env.RunTest(test)