aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regression/issue_118/SConscript
blob: 833d9dec720ad5039d4c604c8c7af5c45c41f2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Regression test for Issue 118: Short enum names in imported proto files are not honoured

Import("env")
env = env.Clone()
env.Append(PROTOCPATH = "#regression/issue_118")

env.NanopbProto("enumdef")
env.Object('enumdef.pb.c')

env.NanopbProto(["enumuse", "enumdef.proto"])
env.Object('enumuse.pb.c')