13 lines
302 B
Python
13 lines
302 B
Python
# Test that the generator options work as expected.
|
|
|
|
Import("env")
|
|
|
|
env.NanopbProto("options")
|
|
env.Object('options.pb.c')
|
|
env.Match(['options.pb.h', 'options.expected'])
|
|
|
|
env.NanopbProto("proto3_options")
|
|
env.Object('proto3_options.pb.c')
|
|
env.Match(['proto3_options.pb.h', 'proto3_options.expected'])
|
|
|