1# Test that multiple .proto files don't cause name collisions. 2 3Import("env") 4 5incpath = env.Clone() 6incpath.Append(PROTOCPATH = '#multiple_files') 7incpath.Append(CPPPATH = '$BUILD/multiple_files') 8 9incpath.NanopbProto(["multifile1", "multifile1.options"]) 10incpath.NanopbProto("multifile2") 11incpath.NanopbProto("subdir/multifile2") 12test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", 13 "multifile2.pb.c", "subdir/multifile2.pb.c"]) 14 15env.RunTest(test) 16 17