1# Test that multiple .proto files don't cause name collisions.
2
3Import("env")
4
5incpath = env.Clone()
6incpath.Append(PROTOCPATH = '#multiple_files')
7
8incpath.NanopbProto("callbacks")
9incpath.NanopbProto("callbacks2")
10test = incpath.Program(["test_multiple_files.c", "callbacks.pb.c", "callbacks2.pb.c"])
11
12env.RunTest(test)
13
14