blob: 1689f4822ae1f74c4576872a1669c3e29d4518f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Test that multiple .proto files don't cause name collisions.
Import("env")
incpath = env.Clone()
incpath.Append(PROTOCPATH = '#multiple_files')
incpath.NanopbProto(["multifile1", "multifile1.options"])
incpath.NanopbProto("multifile2")
test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", "multifile2.pb.c"])
env.RunTest(test)
|