You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
495 B

# Verify that _size define is generated for messages that have
# includes from another directory.
Import('env')
incpath = env.Clone()
incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
incpath.NanopbProto('test')
incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
p = incpath.Program(["msg_size.c",
"test.pb.c",
"submessage/submessage.pb.c"])