summaryrefslogtreecommitdiffstats
path: root/tests/options/SConscript
blob: 215e3bd090fa2e3494ab1d4476429b6abad85076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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'])