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