2013-09-10 22:34:54 +03:00
|
|
|
# Check that the decoder properly detects when required fields are missing.
|
|
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
|
|
|
|
|
env.NanopbProto("missing_fields")
|
2014-08-10 12:42:01 +03:00
|
|
|
test = env.Program(["missing_fields.c", "missing_fields.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
|
2013-09-10 22:34:54 +03:00
|
|
|
env.RunTest(test)
|
|
|
|
|
|