blob: 86ba0833a256f013b48ff7bd5fb397d397b30322 (
plain)
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", "$COMMON/pb_common.o"])
env.RunTest(test)
|